twenty seventeen主题 去掉 自豪地采用wordpress

1.找到文件/wp-content/themes/twentyseventeen/footer.php

2.删除红色的一行

<footer id=”colophon” class=”site-footer” role=”contentinfo”>
<div class=”wrap”>
<?php
get_template_part( ‘template-parts/footer/footer’, ‘widgets’ );

if ( has_nav_menu( ‘social’ ) ) : ?>
<nav class=”social-navigation” role=”navigation” aria-label=”<?php esc_attr_e( ‘Footer Social Links Menu’, ‘twentyseventeen’ ); ?>”>
<?php
wp_nav_menu( array(
‘theme_location’ => ‘social’,
‘menu_class’ => ‘social-links-menu’,
‘depth’ => 1,
‘link_before’ => ‘<span class=”screen-reader-text”>’,
‘link_after’ => ‘</span>’ . twentyseventeen_get_svg( array( ‘icon’ => ‘chain’ ) ),
) );
?>
</nav><!– .social-navigation –>
<?php endif;

get_template_part( ‘template-parts/footer/site’, ‘info’ );
?>
</div><!– .wrap –>
</footer><!– #colophon –>

Add a Comment

电子邮件地址不会被公开。 必填项已用*标注