WP-PageNavi 2.30
Installation Instruction
- Open wp-content/plugins Folder
- Put:
Folder: wp-pagenavi
- Activate WP-PageNavi Plugin
- Refer To Usage For Further Instructions
Usage Instructions
General Usage
- Open wp-content/themes/<YOUR THEME NAME>/footer.php
- Add Anywhere:
<?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?>
- Go to ‘WP-Admin -> Settings -> PageNavi’ to configure WP-PageNavi.
- If you need to configure the CSS style of WP-PageNavi, open and edit:
/wp-content/plugins/wp-pagenavi/pagenavi-css.css
Note
- WP-PageNavi will load ‘pagenavi-css.css‘ from your theme’s directory if it exists.
- If it doesn’t exists, it will just load the default ‘pagenavi-css.css’ that comes with WP-PageNavi.
- This will allow you to upgrade WP-PageNavi without worrying about overwriting your page navigation styles that you have created.
Archives (archive.php)
の中の
<p align=”center”><?php posts_nav_link(‘ – ‘,’« Prev’,’Next »’) ?></p>
を
<div align=”center”><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></div>
に変更。
No responses yet