Forum Replies Created

Viewing 1 replies (of 1 total)
  • Forum: Plugins
    In reply to: [WP-PageNavi] One problem
    Thread Starter Denis159

    (@denis159)

    I have solved this problem. thank you again ??
    Need to add this code in functions.php on child theme
    add_action(‘wp_head’, ‘my_post_nav’);
    function my_post_nav(){
    if ( !function_exists(‘wp_pagenavi’) )
    return;
    remove_action( ‘__after_loop’ , array( TC_post_navigation::$instance , ‘tc_post_nav’ ), 20 );
    add_action( ‘__after_loop’, ‘wp_pagenavi’, 20 );
    }

Viewing 1 replies (of 1 total)