• A good day to you all,

    I have a little blog powered by WordPress 2.8.2. with 005 theme made by Small Potato. On my blog, to get from a page to another i have something like this “<< Previous page – Next page >>”. I want this to be with numbers, so i tried WP PAGE-NUMBERS plugin (click here for link). I have installed it and activate it. The installation guide tells me to replace the ‘nextpostslink()’ and ‘previouspostslink()’ with the code <?php if(function_exists(‘wp_page_numbers’)) { wp_page_numbers(); } ?> in archive.php, index.php and search.php. My problem is that i don`t have anything like this on thoose .phps. All i have is in browse.php and it looks like this:

    <?php if (is_single()) : ?>

    <div class=”browse”><?php if(function_exists(‘wp_page_numbers’)) { wp_page_numbers(); } ?>
    </div>

    <?php else : ?>

    <div class=”browse”><?php if(function_exists(‘wp_page_numbers’)) { wp_page_numbers(); } ?>
    </div>

    <?php endif; ?>

    What should i replace here? Or what should i do?
    My link: http://www.deromania.ro

    P.S.: Do you have any other solutions to get page numbers instead of next/previous links?
    Thank you!

Viewing 1 replies (of 1 total)
  • You already have:

    <div class="browse"><?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>

    in the code posted above.

Viewing 1 replies (of 1 total)
  • The topic ‘Help please!’ is closed to new replies.