Forums

please a little help! (11 posts)

  1. alekso
    Member
    Posted 2 years ago #

    I want to have down on my page, to get to the next page, numbers, a number for each page, like 1|2|3|4|, instead of "<< previus page - next page >>". How can i do that? Thank you

  2. doc4
    Member
    Posted 2 years ago #

    alekso,

    Install the wp-page-numbers plugin: http://wordpress.org/extend/plugins/wp-page-numbers/ This should give you what you are looking for. For an example: http://www.doc4design.com look under Web or Identities then toward the bottom of the page.

  3. ryans149
    Member
    Posted 2 years ago #

    Check for this:

    <?php next_posts_link('&laquo; Older Entries') ?>

    and

    <?php previous_posts_link('Newer Entries &raquo;') ?>

    and edit it

  4. alekso
    Member
    Posted 2 years ago #

    How do i use this plugin? I have installed it and activate it. Nothing is changed!

  5. alekso
    Member
    Posted 2 years ago #

    I have did all it says in help of this plugin but nothing works

  6. alekso
    Member
    Posted 2 years ago #

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

    <div class="browse"><?php previous_post_link('« %link') ?> <?php next_post_link(' %link »') ?></div>

    <?php else : ?>

    <div class="browse"><?php posts_nav_link() ?></div>

    <?php endif; ?>

    This is my code at browse.php. What should i change with what? I have tryied all the posibilities and it doesn`t work

  7. jonimueller
    Member
    Posted 2 years ago #

    browse.php? According to the installation instructions, the code should go in index.php (and any other theme template where you want these kind of paginated links). Why browse.php?

  8. alekso
    Member
    Posted 2 years ago #

    Because only there i have found this next, previous ... etc. Nothing in archive, index or other places

  9. alekso
    Member
    Posted 2 years ago #

    i have found this in index.php <?php include (TEMPLATEPATH . '/browse.php'); ?>
    same thing in archive.php and search.php.

    Usage

    Replace the the 'nextpostslink()' and 'previouspostslink()' with the code below in your theme (archive.php, index.php or search.php).

    <?php if(function_exists('wp_page_numbers')) { wp_page_numbers(); } ?>

    This is what the plugin usage says.
    Tell me what to change it that code for WP - Page Number plugin to work

  10. ryans149
    Member
    Posted 2 years ago #

    yes, it is possible to have browse.php.. it depends on your theme..

    But for general sense, it should be in index.php

  11. doc4
    Member
    Posted 2 years ago #

    alekso,

    Can you direct us to the theme you are using so we can take a look at the code?

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.