WordPress.org

Support

Support » Plugins and Hacks » WP-PageNavi » [Resolved] [Plugin: WP-PageNavi] Is not showing on tags pages

[Resolved] [Plugin: WP-PageNavi] Is not showing on tags pages

Viewing 11 replies - 1 through 11 (of 11 total)
  • Michael

    @alchymyth

    Forum Moderator

    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.

    Anty

    @wellbeingtips

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

    Anty

    @wellbeingtips

    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?

    Michael

    @alchymyth

    Forum Moderator

    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’ (?)

    Anty

    @wellbeingtips

    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?

    Michael

    @alchymyth

    Forum Moderator

    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?

    Anty

    @wellbeingtips

    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.

    Michael

    @alchymyth

    Forum Moderator

    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

    Anty

    @wellbeingtips

    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?

    Michael

    @alchymyth

    Forum Moderator

    you are welcome 😉

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

    thanks

    Anty

    @wellbeingtips

    Resolved thanks to alchymyth

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] [Plugin: WP-PageNavi] Is not showing on tags pages’ is closed to new replies.
Skip to toolbar