Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    That post is made 3 years ago. you need to make changes to the class name and methods which had been replaced in recent version.

    https://presscustomizr.com/customizr-pro-v1-2-30-customizr-free-v3-4-30-release-note/

    Thank you

    Thread Starter Anna-Karina

    (@kina60)

    And HOW do I do that: “make changes to the class name ans methods”?

    I just want to have a page/post navigation with nunbers instead of the navigation with ‘older posts’ and ‘newer posts’. (With of without that plugin…)

    Thread Starter Anna-Karina

    (@kina60)

    OK me happy ?? it’s working!
    I changed the PHP classes and methods in my old action in my (child-) functions.php

    – class prefix change: TC_ to CZR_
    – method prefixes change: tc_ to czr_fn_

    //*******action for WP-pagenavi plugin ****************
    add_action('wp_head', 'my_post_nav');
    function my_post_nav(){
        if ( !function_exists('wp_pagenavi') )
           return;
        remove_action( '__after_loop' , array( CZR_post_navigation::$instance , 'czr_fn_post_nav' ), 20 );
        add_action( '__after_loop', 'wp_pagenavi', 20 );
    }

    Thanks!
    Anna-Karina

    • This reply was modified 7 years, 8 months ago by Anna-Karina.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘page/post navigation with numbers’ is closed to new replies.