WordPress.org

Forums

WP Page Numbers
Remove wp_pagenumbers on top (2 posts)

  1. chieltebokkel
    Member
    Posted 3 years ago #

    Can anyone tell me how to remove the wp-pagenumbers at the top,
    and just see the plugin at the bottom.

    What do i need to remove, and where do i find it.

    http://wordpress.org/extend/plugins/wp-page-numbers/

    Thank you!

  2. Nukeface
    Member
    Posted 3 years ago #

    call this if(function_exists('wp_page_numbers')) { wp_page_numbers(); } after you finish the_loop ;)

    for example:

    <?php get_header();
    create_home();
    function create_home(){
       if (have_posts()) : while (have_posts()) : the_post();
         //do your thing
       endwhile; endif;
    
       if(function_exists('wp_page_numbers')) { wp_page_numbers(); }
    } //close function
    get_sidebar();
    get_footer();
    ?>

    Make sure you have activated the plugin, and that you have configured it to your liking.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Page Numbers
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic