Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  •  renemusic
    Participant

    Thank you Fanartix, i will check the tutorial:-)

     renemusic
    Participant

    An infinite scroll would be such a great option to be integrated in the KLEO theme:-)
    KLEO already has the wishlist from Yith included. maybe it is a good idea to also inlcude the infinite scroll from them.
    I just tried the infinite scroll from Yith and it works half. Content is loaded but content is empty / white

     renemusic
    Participant

    No luck yet on my theme with the above solution from Fanartix. Has anyone tried this as well?

     renemusic
    Participant

    Thank you fanartix for your reply,

    I have double checked it and the jetpack with infinite sroll is activated.
    index.php is adjusted as above and i have commented out kleo pagination as you suggested, but still no luck
    To be sure, can you copy paste your code using the code tag in this post another time?

     renemusic
    Participant

    Thank you for the input fanartix! I tried the above solution edited the div and placed the other code in functions.php.
    the infinite scroll seems not to be triggered and maybe i am doing something wrong.
    Is this the right way in index.php?

    COPY CODE
        <?php
        if ($blog_type == 'masonry') : ?>
            <div id="content" class="row responsive-cols kleo-masonry per-row-<?php echo sq_option( 'blog_columns', 3 );?>">
        <?php endif; ?>
    in reply to: Required fields in profile edit #60004
     renemusic
    Participant

    Thanks! i will search the BP forums 🙂

     renemusic
    Participant

    I have bought the animate lazy load plugin, but it does not work with the masonry view posts and it also does not work smoothly in woocommerce. The first products on the page have a white colored thumbnail. While scrolling further down the woocommerce page, they appear smoothly.
    I have checked there documentation, but i cannot seem to figure it out. Any ideas?

    They only mention this in the documentation for custom templates:

    //Example : 1
    $html = ‘‘;
    $html .= ‘<p>animate lazy load image</p>’;
    $html .= ‘‘;
    $html = apply_filters( ‘animate_lazy_load_html’, $html );
    echo $html;

    //Example : 2
    $page_id = 1;
    $page_data = get_page( $page_id );
    echo ‘<h3>’. $page_data->post_title .'</h3>’;
    echo apply_filters(‘the_content’, $page_data->post_content);

    //Example : 3
    $content = apply_filters( ‘the_content’, get_the_content() );
    $content = str_replace( ‘]]>;’, ‘]]&>’, $content );
    echo $content;

Viewing 7 posts - 1 through 7 (of 7 total)

Log in with your credentials

Forgot your details?