WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
Disable PageNavi on Homepage (4 posts)

  1. lyvyoo
    Member
    Posted 1 year ago #

    Helllo,
    Is possible to disable PageNavi on Homepage?
    My Homepage is verry similar to the Portfolio page and I want to show in Home only firsts 9 posts, whithout the option to switch the page. But in Portfolio page I want to display the normal pagination of PageNavi.

    It is possible?

    Thank you!

    http://wordpress.org/extend/plugins/wp-pagenavi/

  2. Hiranthi
    Member
    Posted 1 year ago #

    You could do this where you currently have the wp_pagenavi():

    <?php
    if (!is_home()) wp_pagenavi();
    ?>
  3. trancebrothers
    Member
    Posted 1 year ago #

    this code results but only the number of pages disappear..

    I have a widget (archive)in other page and the posts keeps the same, 4 posts per page..

    How can I get a list of the all posts of my blog??

    thanks a lot and I hope for a answer!!

  4. trancebrothers
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic