• Resolved decblues

    (@decblues)


    Like to move the Single Post Navigation box to above Comments or top of the post (above featured image/title).

    One have to go to bottom of the page for next or previous posts, dont want that style because not many scroll to bottom of the post/page and look for navigation.

    any filters or css codes for this option?

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter decblues

    (@decblues)

    Also.. I installed this plugin “Next Previous” for Navigation but its not showing up. If I change the theme, this plugin works, showing the Arrow for Next and Previous. Is there anyway this plugin work in Customizr? its really simple and useful navigation.

    or need help with my first question.

    Thank you.

    Hi,
    Add this to your child theme’s functions,php to move it above comments box. This code wil woork if you are using release 3.4.30+

    add_action ( 'wp_head', 'remove_single_post_nav_links');
    function remove_single_post_nav_links() {
    	//we only want to remove those nav links for a sinlge post and not for the list of posts
    	if ( !is_single() )
    		return;
    	//this action is defined in the class-content-post_navigation.php file
    	remove_action  ( '__after_loop' , array( CZR_post_navigation::$instance , 'czr_fn_post_nav' ), 20 );
    	add_action  ( '__after_loop' , array( CZR_post_navigation::$instance , 'czr_fn_post_nav' ), 9 );
    }
    Thread Starter decblues

    (@decblues)

    Hi Menaka,

    Worked! above comments box now.

    I am using 3.4.23 so I changed to TC_ and tc_ 😀

    Will update latest version later. dont have time to check if something goes wrong. :/

    Thank you very much 😉

    Glad 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Single Post Navigation’ is closed to new replies.