WordPress.org

Ready to get started?Download WordPress

Forums

WP-PageNavi
[resolved] Is not showing on tags pages (12 posts)

  1. wellbeingtips
    Member
    Posted 2 years ago #

    Pagination is not showing on tags pages and everywhere else is showing and working fine f.e. category, archives...

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

  2. alchymyth
    Forum Moderator
    Posted 2 years ago #

    general checks:
    does any of the tags have more than the 'posts per page' defined under dashboard - settings - reading ?

    if the theme has a tag.php, is the pagenavi code added to it?

    if you are using a commercial theme, please contact the seller of your theme for support.

  3. wellbeingtips
    Member
    Posted 2 years ago #

    Thanks alchymyth.
    Im going to check all this.
    Im using free theme Swift Basic but not support from them :(

  4. wellbeingtips
    Member
    Posted 2 years ago #

    Tags are 8 same as showing on reading tab. there is tag.php and I cant see any pagenavi or similar code.
    Maybe this will solve the problem :). Can you tell me what is the code and where to put it?

  5. alchymyth
    Forum Moderator
    Posted 2 years ago #

    the swift basic theme seems to be using its own pagenavi code;

    from tag.php:

    <div class="div-content"><?php	if(function_exists('swift_pagenavi')) swift_pagenavi(); ?>

    maybe you don't need to use the plugin 'wp-pagenavi' (?)

  6. wellbeingtips
    Member
    Posted 2 years ago #

    Yes I don't use its built in. and f.e. this code <div class="div-content"><?php if(function_exists('swift_pagenavi')) swift_pagenavi(); ?> I found on index.php but not in tag.php, should I add i there too?

  7. alchymyth
    Forum Moderator
    Posted 2 years ago #

    I found on index.php but not in tag.php, should I add i there too?

    if it is not there, add it;
    or add the corresponding code for 'wp-pagenavi' instead,
    i.e.
    <div class="div-content"><?php	if(function_exists('wp_pagenavi')) wp_pagenavi(); ?>

    however, I just downloaded 'swift basic' from http://wordpress.org/extend/themes/swift-basic and this is where I got the code (in tag.php line 62) from in my earlier reply.

    maybe you need to update your theme?

  8. wellbeingtips
    Member
    Posted 2 years ago #

    I added this code in same place where is on index.php and it showed but on beginning of the tag page in same line with the title of the first post.

  9. alchymyth
    Forum Moderator
    Posted 2 years ago #

    I added this code in same place where is on index.php and it showed but on beginning of the tag page in same line with the title of the first post.

    this is possibly the time where you post a link to your site to illustrate what is happening.

    or paste the codes of index.php and tag.php into a http://pastebin.com/ each and post those two links here - see http://codex.wordpress.org/Forum_Welcome#Posting_Code

  10. wellbeingtips
    Member
    Posted 2 years ago #

    I puted before the lat line >
    <div class="div-content"><?php if(function_exists('swift_pagenavi')) swift_pagenavi(); ?></div>
    <?php get_footer(); ?>
    And its working:)
    Thanks for your efforts and the help.
    What can i do for you?

  11. alchymyth
    Forum Moderator
    Posted 2 years ago #

    you are welcome ;-)

    please mark the topic as 'resolved', and if you like, try helping somebody else with their problem ....

    thanks

  12. wellbeingtips
    Member
    Posted 2 years ago #

    Resolved thanks to alchymyth

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.