月度归档:2019年07月

wp_pagenavi

functions.php
查找

?></h3>

替换

<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentytwelve' ) ); ?></div>
			<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?></div>

<?php
wp_pagenavi(); ?>

content.php移除

                <div class="featured-post">
			<?php _e( 'Featured post', 'twentytwelve' ); ?>
		</div>