Change mode pagination (Infinite Scroll)

Home Forums Iconic One Pro Support Change mode pagination (Infinite Scroll)

This topic contains 5 replies, has 2 voices, and was last updated by  Themonic-Support 4 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #5927

    Christy
    Participant

    Hello… how do I change feature pagination with an infinite scroll?

    #5930

    Theme has integrated support for Infinite scroll via Jetpack plugin. Disable theme pagination to get default pagination and then enable Infinite scroll from Jetpack settings.

    #5931

    Christy
    Participant

    please give me a tutorial how to do that!

    #5932

    Christy
    Participant

    It’s working now but… the pagination still exists how to disable it?

    #5933

    Christy
    Participant

    Here is the screenshot: https://prnt.sc/r6bwiv
    I cannot remove it…

    #5934

    You can hide that by using the following CSS in Additional CSS section

    
    .site-content nav {
        display: none;
    }

    In the functions.php bottom you have to paste the following code for infinite scroll to work:

    
    function iop_infinite_scroll_init() {
        add_theme_support( 'infinite-scroll', array(
    	'type'  => 'scroll',
            'container' => 'content',
        ) );
    }
    add_action( 'after_setup_theme', 'iop_infinite_scroll_init' );
Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Change mode pagination (Infinite Scroll)’ is closed to new replies.