About plugin wp pagenavi

Hello,

I'm using plugin wp pagenavi http://wordpress.org/plugins/wp-pagenavi/

I'm stuck in how to make the plugin working in Tag page. I have asked plugin author here: http://wordpress.org/support/topic/not-working-in-tag-page?replies=2

They have the solution for this issue but i'm not expert in this case. Please guide me step by step how to resolve this? Also i have grant access in order to you want to login to take a look.

Thank you,
Tuan.

  • Vinod Dalvi
    • WP Unicorn

    Hi Tuan,

    I hope you are well today and thank you for your question.

    To resolve this issue could you please make the following changes in the archive.php file of your theme.

    Before Editing:

    <div id="pag">
    
    	<div id="pagl"><?php previous_posts_link() ?></div>
    
    	<div id="pagr"><?php next_posts_link() ?></div>
    
        <div class="cb"></div>
    
    </div>

    After Editing:

    <div class="cb"></div>
       <?php
      if( function_exists('wp_pagenavi') ){
    	wp_pagenavi();
      }?>
    <div class="cb"></div>

    If you want me to make these changes then please send me the FTP credentials of your site, just send info through our contact form: https://premium.wpmudev.org/contact/
    - Choose "I have a different question"
    - Include my name in the subject "Vinod Dalvi"
    - Include the URL of this post in your message so that I may track this issue better
    - Include any relevant login information (Wordpress admin info username + password )
    - Include FTP Details

    Kind Regards,
    Vinod Dalvi

  • Vinod Dalvi
    • WP Unicorn

    Hi Tuan,

    Can you please try enabling WP_DEBUG mode and debug logging? To do this, just go to wp-config.php include this:

    define('WP_DEBUG',true);
    define('WP_DEBUG_LOG',true);

    You might already have a line for WP_DEBUG, so just make sure it's set to true. This will create a log file under wp-content/debug.log with detailed information.

    If you'd like to avoid end users seeing error messages, you can include this as well:

    @ini_set('display_errors',0);
    define('WP_DEBUG_DISPLAY', false);

    This will prevent errors from being displayed, but you can still find them in the log file. For information on this, checkout this wpmu.org article.

    Let me know what errors if any you are getting!

    Regards,
    Vinod Dalvi

  • Khanh
    • The Bug Hunter

    This is the error Vinod Dalvi. Please help me check.

    Notice: wp_deregister_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /hermes/bosoraweb167/b2781/glo.thenorth3000hivn/vi/wp-includes/functions.php on line 3245 Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( 'custom-background', $args ) instead. in /hermes/bosoraweb167/b2781/glo.thenorth3000hivn/vi/wp-includes/functions.php on line 3078

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.