• Resolved Tirips

    (@tirips)


    Hello,
    Congratulations for the great job !!
    Blocksy is a wonderful free WordPress theme. Almost everything is customizable without modifying the code, that’s great.
    However, I am currently using a nice navigation plugin: “page navi slider” and I cannot succeed in activatte it on Blocksy.
    Thanks in advance for the help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello @tirips

    I have taken a look at the plugin mentioned by you and it seems it is extremely out of date. It hasn’t been updated for more than one year back. I’m not entirely sure if recent WordPress updates have broken compatibility with it, but I will try to investigate.

    Though, don’t get your hopes up as it is quite old and we might go nowhere.

    Thank you for understanding.

    Thread Starter Tirips

    (@tirips)

    Hello
    This plugin was made by a friend of mine. I am using it on my website and there is no problem of compatibility with current WordPress version.

    It seems to be sufficient to include the following code snippet in the functions.php of the child theme:

    if ( function_exists( 'page_navi_slider' ) ) {
    	function blocksy_display_posts_pagination( $args = [] ) {
    		ob_start();
    		page_navi_slider();
    		return ob_get_clean();
    	}
    }

    However, I don’t know if overriding the blocksy_display_posts_pagination() pluggable function has undesirable side effects.

    • This reply was modified 2 years, 9 months ago by t33b33.
    Thread Starter Tirips

    (@tirips)

    It works replacing the blocksy\inc\components\pagination.php
    I’ve seen no undesirable side effects, except loosing the slide plugin effect. I look towards the plugin creator.
    Thanks for your help

    You’re welcome. The slide effect works for me when selecting the pages: https://navi-slider.de.cool/ . Or is there another slide effect with the plugin?

    • This reply was modified 2 years, 9 months ago by t33b33.
    Thread Starter Tirips

    (@tirips)

    Yes, it doesn’t work on my test website, but it does on my website (which is the most important 😉 )

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How displaying a pagination plugin’ is closed to new replies.