Hi I'm using Platform theme free editon.I can't figure out where I put this code <?php wp_pagenavi();?> in which file?
Hi I'm using Platform theme free editon.I can't figure out where I put this code <?php wp_pagenavi();?> in which file?
If I'm correct, It need to go in your index.php and archive.php file.
Thanks, Danielx64
Its not working.
May sound silly, do you have the plugin turned on? Also did you read the readme file that comes with the plugin? The readme should tell you how to set it up with your theme.
I am already turned the plugin on...
If you still haven't found a solution, I wrote a post about how to set up wp-pagenavi with platform free edition. But it is in french, so here are the main steps:
Be sure you have wp-pagenavi installed and turned on.
Use a FTP client to edit this file of your wordpress installation: wp-content/themes/platform/sections/wp/section.pagination.php
Look for the following lines:
function section_template() { ?>
<?php if(function_exists('wp_pagenavi') && show_posts_nav() && VPRO):?>
<?php wp_pagenavi(); ?>
<?php elseif (show_posts_nav()) : ?>
<div class="page-nav-default fix">
<span class="previous-entries"><?php next_posts_link(__('← Previous Entries','pagelines')) ?></span>
<span class="next-entries"><?php previous_posts_link(__('Next Entries →','pagelines')) ?></span>
</div><!-- page nav -->
<?php endif;?>
<?php }
and replace the first line by this one:
<?php if(function_exists('wp_pagenavi') && show_posts_nav()):?>
Hope it helps ;)
thank you so much^^
This topic has been closed to new replies.