Support » Theme: Customizr » page/post navigation with numbers

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.

    Thank you

    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…)

    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') )
        remove_action( '__after_loop' , array( CZR_post_navigation::$instance , 'czr_fn_post_nav' ), 20 );
        add_action( '__after_loop', 'wp_pagenavi', 20 );


    • This reply was modified 2 years, 6 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.