Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Thread Starter ngaisteve1

    (@ngaisteve1)

    Hi, i have change my index.php to below but still not working. I am using “Publish” theme.

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

    <?php /* Start the Loop */ ?>
    <?php while ( have_posts() ) : the_post(); ?>

    <?php get_template_part( ‘content’, get_post_format() ); ?>

    <?php endwhile; ?>

    <?php wp_pagenavi(); ?>
    <?php else : ?>

    Plugin Author Lester Chan

    (@gamerz)

    The code looks ok, does it work in the default theme in the first place? Or is it because you got nothing to paginate?

    Thread Starter ngaisteve1

    (@ngaisteve1)

    I have 5 posts and setting > Page Navi Setting, I set as

    https://www.findingsteve.net/v2/wp-content/uploads/2014/12/pagenavi.jpg

    Here is my home page:
    https://www.findingsteve.net/v2/

    Plugin Author Lester Chan

    (@gamerz)

    Does it work on the

    But you have a “Always show page navigation to No” of course it doesn’t show if there is nothing to paginate.

    Thread Starter ngaisteve1

    (@ngaisteve1)

    still the same after i changed it. actually that one is to show the paging even though only 1 page.

    Plugin Author Lester Chan

    (@gamerz)

    How about the default https://codex.www.ads-software.com/Function_Reference/next_posts_link or https://codex.www.ads-software.com/Function_Reference/previous_posts_link?

    Does it work on the default theme in the first place? You did not answer that question.

    Thread Starter ngaisteve1

    (@ngaisteve1)

    oh it is my reading setting > Blog pages show at most

    I didn’t set it. So sorry. Now, okay already

    MY wp_pagnavi is not working in page template.
    how can I resolve it?

    hi
    it dosent work.
    please help me
    zarafox.ir

    hello my friends
    please help me
    in dos not work in me website
    this is my index code:

    <?php include (TEMPLATEPATH . ‘/header.php’); ?>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″>

    <div class=”alibehnamfar-ir2″><div class=”alibehnamfar-ir3″>
    <div align=”center”>
    <table border=”0″ width=”964″ cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td width=”202″ valign=”top”>

    <?php include (TEMPLATEPATH . ‘/sidebar_right.php’); ?>

    </td>
    <td width=”8″ valign=”top”>?</td>
    <td width=”544″ valign=”top” class=”alibehnamfar-ir6″>

    <?php if(have_posts()) : ?><?php while(have_posts()) : the_post();?>
    <div class=”theme-designer”><div class=”title-post” align=”right”><div class=”link-title-post”>” title=”<?php the_title(); ?> “><?php the_title(); ?></div></div></div>
    <div class=”theme-designer2″ align=”right”><div class=”author” >????? ??? ???? : <?php the_author(); ?></div></div>
    <div align=”center”><div class=”theme-designer3″><div align=”right”>
    <?php the_content(__(”)); ?>

    :: ??????? ????? : <?php the_category(‘, ‘) ?>

    </div></div></div>
    <table border=”0″ width=”100%” cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td width=”427″ valign=”top”><div class=”theme-designer4″ align=”right”>
    <div class=”post3″><div class=”post1″><span class=”post2″>
    ????? ?????? : <?php the_time(‘l, j F Y’) ?> | <?php comments_popup_link(‘???? ??????’, ‘1 ??????’, ‘% ??????’); ?>
    </span></div></div>
    </div></td>
    <td width=”117″ valign=”top”>
    <div style=”font-weight:bold;”><div id=”menu”>

    </div></div>
    </td>
    </tr>
    </table>
    <div class=”theme-designer5″></div>
    <?php endwhile; ?>

    <div><?php if(function_exists(‘wp_pagenavi’)) { wp_pagenavi(); } ?></div

    <?php endif; ?>

    <!– page list –>
    <table border=”0″ width=”100%” id=”table3″ cellspacing=”0″ cellpadding=”0″>
    <tr>
    <td width=”120″>?</td>
    <td width=”150″>
    <div id=”styleone2″>

    • <?php previous_posts_link(‘??? ????? ????????‘); ?>

    </div>
    </td>
    <td>?</td>
    <td width=”150″>
    <div id=”styleone2″>

    • <?php next_posts_link(‘????? ???????? ?’) ?>

    </div>
    </td>
    <td width=”80″>?</td>
    </tr>
    </table>
    <!– /page list –>

    </td>
    <td width=”8″ valign=”top”>?</td>
    <td width=”202″ valign=”top”>

    <?php include (TEMPLATEPATH . ‘/sidebar_left.php’); ?>

    </td>
    </tr>
    </table>
    </div>
    </div></div>

    <?php include (TEMPLATEPATH . ‘/footer.php’); ?>

    can u help me please??????
    zarafox.ir

    Thread Starter ngaisteve1

    (@ngaisteve1)

    Maybe you can open a new thread.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WP-PageNavi not working’ is closed to new replies.