page numbers
-
Below are the plugin instructions which are supposed to provide page numbers for my blog. I have the plugin uploaded and activated on my blog already. However, it is not appearing as it should on my blog: Only the words “Older” and “Newer” appear at the bottom. But, there should also be numbers accompanying the words. I want these to show up to make navigation easier.
I guess this is where I get confused…Do I take the code provided in the instructions and place it somewhere in my archive.php ? I attached the last part of my archive.php.
Would someone be willing to tell me where on my archive.php I’m supposed to switch and put the code.? I’d really appreciate the help.== Installation ==
1. Upload the FOLDER ‘wp-page-numbers’ to the /wp-content/plugins/
2. Activate the plugin ‘WP Page Numbers’ through the ‘Plugins’ menu in admin
3. Go to ‘Options’ or ‘Settings’ and then ‘WP Page Numbers’ to change the options= Usage =
Replace the the ‘next_posts_link()’ and ‘previous_posts_link()’ with the code below in your theme (archive.php, index.php or search.php).
<?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>
My archive.php below:
———————————————————————–
<div class=”alignleft”><?php next_posts_link(‘« Older Entries’) ?></div>
<div class=”alignright”><?php previous_posts_link(‘Newer Entries »’) ?></div>
</div>
The topic ‘page numbers’ is closed to new replies.