Forums

[resolved] Does Platform theme(free edition) support wp-pagenavi plugin? (7 posts)

  1. nanaejoy
    Member
    Posted 1 year ago #

    Hi I'm using Platform theme free editon.I can't figure out where I put this code <?php wp_pagenavi();?> in which file?

  2. Danielx64
    Member
    Posted 1 year ago #

    If I'm correct, It need to go in your index.php and archive.php file.

  3. nanaejoy
    Member
    Posted 1 year ago #

    Thanks, Danielx64
    Its not working.

  4. Danielx64
    Member
    Posted 1 year ago #

    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.

  5. nanaejoy
    Member
    Posted 1 year ago #

    I am already turned the plugin on...

  6. RenaudDumont
    Member
    Posted 8 months ago #

    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(__('&larr; Previous Entries','pagelines')) ?></span>
                    <span class="next-entries"><?php previous_posts_link(__('Next Entries &rarr;','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 ;)

  7. nanaejoy
    Member
    Posted 8 months ago #

    thank you so much^^

Topic Closed

This topic has been closed to new replies.

About this Topic