隔行如隔山,翻山越岭摸着石头改造 Flawwweb。

筚路蓝缕,羊肠小道,在此记录,以防迷路。



<!-- Covr2 Posts Page Author & Date -->
<src="/components/post/content-summary.php">
< ?php get_template_part( 'components/post/content', 'meta' ); ?>

<!-- Covr2 Post Header Author & Date -->
<src="components/post/content.php">
if ( 'post' === get_post_type() ) :
get_template_part( 'components/post/content', 'metat' );
endif;

<!-- Covr2 Post Footer Profile -->
<src="components/post/content-footer.php">
get_template_part( 'components/author/author', 'bio' );

<!-- Flaw.men Post Footer Add Author & Date -->
<src="components/post/content-footer.php">
  ...
< ?php cover2_entry_footer(); ?>
  // Begin Author & Date
< ?php get_template_part( 'components/post/content', 'meta' ); ?>
  // End Author & Date

<!-- Covr2 Post Footer svg-icon-category -->
<src="dist/img/sprites.svg">
<symbol viewBox="0 0 32 32" id="category" xmlns="http://www.w3.org/2000/svg">
<g stroke-width="3" fill="none">
<path d="M26 11V5H12L9 1H1v27c0 1.7 1.3 3 3 3"/>
<path d="M7 11v17c0 1.7-1.3 3-3 3h24c1.7 0 3-1.3 3-3V11H7z"/>
</g>
</symbol>

<!-- Flaw.men Post Footer svg-icon-category -->
<src="dist/img/sprites.svg">
<symbol viewBox="0 0 1024 1024" id="category" xmlns="http://www.w3.org/2000/svg">
<g stroke-width="3" fill="none">
<path fill="#404040" d="M170.666667 725.333333c-26.709333 0-42.666667-0.021333-42.666667-0.042666C128 725.290667 127.936 128 128.042667 128 128.042667 128 725.333333 127.936 725.333333 128.042667A3034143.274667 3034143.274667 0 0 0 725.333333 170.666667a21.333333 21.333333 0 0 0 42.666667 0V128.042667A42.602667 42.602667 0 0 0 725.290667 85.333333H128.042667A42.602667 42.602667 0 0 0 85.333333 128.042667v597.248C85.333333 749.034667 104.448 768 128.042667 768H170.666667a21.333333 21.333333 0 0 0 0-42.666667z m128.042666-469.333333h597.248c23.594667 0 42.709333 18.986667 42.709334 42.709333v597.248C938.666667 919.552 919.68 938.666667 895.957333 938.666667H298.709333A42.602667 42.602667 0 0 1 256 895.957333V298.709333c0-23.594667 18.986667-42.709333 42.709333-42.709333zM298.666667 895.957333c0 0.106667 597.290667 0.042667 597.290666 0.042667 0.106667 0 0.042667-597.290667 0.042667-597.290667C896 298.602667 298.709333 298.666667 298.709333 298.666667 298.602667 298.666667 298.666667 895.957333 298.666667 895.957333zM426.666667 746.666667c0-11.776 9.493333-21.333333 21.333333-21.333334h298.666667c11.776 0 21.333333 9.472 21.333333 21.333334 0 11.776-9.493333 21.333333-21.333333 21.333333H448c-11.776 0-21.333333-9.472-21.333333-21.333333z m0-128c0-11.776 9.728-21.333333 21.376-21.333334h213.248a21.312 21.312 0 1 1 0 42.666667h-213.248A21.312 21.312 0 0 1 426.666667 618.666667z m0-128c0-11.776 9.664-21.333333 21.269333-21.333334h128.128c11.733333 0 21.269333 9.472 21.269333 21.333334 0 11.776-9.664 21.333333-21.269333 21.333333h-128.128A21.248 21.248 0 0 1 426.666667 490.666667z"/>
</symbol>

<!-- Covr2 Post Footer svg-icon-tag -->
<src="dist/img/sprites.svg">
<symbol viewBox="0 0 32 32" id="tag" xmlns="http://www.w3.org/2000/svg">
<g stroke-width="3" fill="none">
<path d="M18 30l12-12L13 1H1v12z"/>
<circle data-color="color-2" cx="8" cy="8" r="2"/>
</g>
</symbol>

<!-- Flaw.men Post Footer svg-icon-tag -->
<src="dist/img/sprites.svg">
<symbol viewBox="0 0 1024 1024" id="tag" xmlns="http://www.w3.org/2000/svg">
<g stroke-width="3" fill="none">
<path fill="#404040" d="M128 449.792c0 12.373333 9.002667 34.133333 17.706667 42.837333L574.037333 920.96c-0.042667-0.021333 346.837333-346.794667 346.837334-346.794667L492.629333 145.706667c-8.618667-8.64-30.528-17.706667-42.837333-17.706667H128.149333L128 449.792zM85.333333 128.149333C85.333333 104.512 104.426667 85.333333 128.149333 85.333333h321.642667c23.637333 0 56.405333 13.589333 73.024 30.208l428.309333 428.309334c16.682667 16.682667 16.64 43.754667-0.064 60.48L604.330667 951.061333a42.816 42.816 0 0 1-60.48 0.064L115.541333 522.816C98.858667 506.133333 85.333333 473.514667 85.333333 449.792V128.149333zM320 426.666667a106.666667 106.666667 0 1 1 0-213.333334 106.666667 106.666667 0 0 1 0 213.333334z m0-42.666667a64 64 0 1 0 0-128 64 64 0 0 0 0 128z"/>
</symbol>

<!-- Covr2 Post Footer svg-icon-edit -->
<src="dist/img/sprites.svg">
<symbol viewBox="0 0 32 32" id="edit" xmlns="http://www.w3.org/2000/svg">
<g stroke-width="3" fill="none">
<path data-color="color-2" d="M5 31h22M20 5l6 6"/>
<path d="M11 26H5v-6L23 2l6 6z"/>
</g>
</symbol>

<!-- Flaw.men Post Footer svg-icon-edit -->
<src="dist/img/sprites.svg">
<symbol viewBox="0 0 1024 1024" id="edit" xmlns="http://www.w3.org/2000/svg">
<g stroke-width="3" fill="none">
<path fill="#404040" d="M149.461333 576h213.077334c11.861333 0 21.461333 9.6 21.461333 21.461333v213.077334C384 822.4 374.4 832 362.538667 832H149.461333C137.6 832 128 822.4 128 810.538667v-213.077334C128 585.6 137.6 576 149.461333 576zM85.333333 810.538667A64.106667 64.106667 0 0 0 149.461333 874.666667h213.077334A64.106667 64.106667 0 0 0 426.666667 810.538667v-213.077334A64.106667 64.106667 0 0 0 362.538667 533.333333H149.461333A64.106667 64.106667 0 0 0 85.333333 597.461333v213.077334z m0-384A64.106667 64.106667 0 0 0 149.461333 490.666667h213.077334A64.106667 64.106667 0 0 0 426.666667 426.538667v-213.077334A64.106667 64.106667 0 0 0 362.538667 149.333333H149.461333A64.106667 64.106667 0 0 0 85.333333 213.461333v213.077334zM149.461333 192h213.077334C374.4 192 384 201.6 384 213.461333v213.077334C384 438.4 374.4 448 362.538667 448H149.461333C137.6 448 128 438.4 128 426.538667v-213.077334C128 201.6 137.6 192 149.461333 192z m768.042667 64a21.333333 21.333333 0 0 0 0-42.666667h-426.666667a21.333333 21.333333 0 1 0 0 42.666667h426.666667z m0 384a21.333333 21.333333 0 0 0 0-42.666667h-426.666667a21.333333 21.333333 0 1 0 0 42.666667h426.666667z m0-213.333333a21.333333 21.333333 0 0 0 0-42.666667h-426.666667a21.333333 21.333333 0 1 0 0 42.666667h426.666667z m0 384a21.333333 21.333333 0 0 0 0-42.666667h-426.666667a21.333333 21.333333 0 1 0 0 42.666667h426.666667z"/>
</symbol>

<!-- Lazy Load for Comments Loader Element -->
<src="plugins/lazy-load-for-comments/public/llc-comments.php">
  ...
  <!-- Filter to change loader element -->
< ?php echo apply_filters( 'llc_loader_element_content', '<img src="data:image/gif;base64,R0lGODlhNgA3APMJAMfHx6KiopycnO7u7rm5uf.../FrcCs0KvOrccuEQA7">' ); ?>
< ?php endif; ?>
  ...

<!-- Flaw.men Lazy Load for Comments Loader Element -->
<src="plugins/lazy-load-for-comments/public/llc-comments.php">
  ...
  <!-- Filter to change loader element -->
< ?php echo apply_filters( 'llc_loader_element_content', '<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     width="24px" height="24px" viewBox="0 0 24 24" style="enable-background:new 0 0 50 50;" xml:space="preserve">
    <rect x="0" y="0" width="4" height="7" fill="#4020df">
      <animateTransform  attributeType="xml"
        attributeName="transform" type="scale"
        values="1,1; 1,3; 1,1"
        begin="0s" dur="0.6s" repeatCount="indefinite" />       
    </rect>

    <rect x="10" y="0" width="4" height="7" fill="#4020df">
             
    </rect>
    <rect x="20" y="0" width="4" height="7" fill="#4020df">
             
    </rect>
  </svg>' ); ?>
< ?php endif; ?>
  ...

<!-- Flaw.men Footer -->
<src="components/footer/site-info.php">
<div class="site-info">
<a href="<?php echo esc_url( __( 'flaw.men') ); ?>"><?php printf( esc_html__( 'Flaw.men') ); ?></a>
<span class="sep"> <?php printf( esc_html__( '2018') ); ?> </span>
</div><!-- .site-info -->

<!-- Google Fonts -->
<src="cover2/functions.php">
  ...
$fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' );
  ...
$urls[] = array(
'href' => 'https://fonts.gstatic.com',
'crossorigin',

<!-- Fuck GFW! Google Fonts -->
<src="cover2/functions.php">
  ...
$fonts_url = add_query_arg( $query_args, 'https://fonts.proxy.ustclug.org/css' );

Also https://fonts.gstatic.com >> https://fonts-gstatic.proxy.ustclug.org

<!-- Disappear the site-title -->
<src="components/header/header-branding.php">
  ...
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">; ?></a></h1>

<!-- Disappear the site-description -->
<src="components/header/header-branding.php">
  ...
<h2 class="site-description"><?php bloginfo( 'description' ); ?><h2>


Leave a Reply

Your email address will not be published. Required fields are marked *