Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
WordPress comes with the paging navigation function is not easy to use, so most people will install Wp-pagenavi Plug-ins. However, after the installation of Plug-ins, in the home page and the top of the column and the tail, will still show the system with the "earlier article" and "newer article" navigation arrows, not only affect the beautiful page, but also make the function redundant. How do I get rid of these navigation instructions? This article takes twenty eleven theme as an example to give the answer, for WordPress novice Reference.
Click on the admin background "appearance"-"edit" to enter the editing topic. Open the index.php file first, locate and delete the following code:
1 < PHP twentyeleven_content_nav (' nav-above '); >
2 < PHP twentyeleven_content_nav (' Nav-below ');?>
3) < aspires id= "post-0" class= "Post No-results not-found" >
< header class= "Entry-header" >
< H1 class= "Entry-title" ><?php _e (' Nothing Found ', ' Twentyeleven ')?><
</header><!--. Entry-header-->
< div class= "Entry-content" >
< p><?php _e (' apologies, but no results were for the found requested. Perhaps searching'll help find a related post. ', ' Twentyeleven ';?></p>
< php get_search_form ()?>
</div><!--. Entry-content-->
</article><!--#post-0-->
In this way, the navigation arrows for "older articles" and "newer articles" on the home page are successfully removed. Then, open the category.php file, and also delete the above code.
Before you delete the code, it is best to back up the original code in Notepad to avoid accidental deletion. This is a good thing for a master to say, but for a rookie like me do not understand code, but very valuable experience oh.
This article by Lady Beautiful Mummy Original and share (http:/ladyprettymom.com), reprint please indicate the link, thank you!