New Landing How can we help? Themeforest Theme Support Dante "Load More" loading the same posts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Dante
  • #245952
    Jackcoldrick
    Member
    Post count: 84

    Hi guys,

    working on the front page of a site and I have following block of code:

    <?php echo do_shortcode('[blog show_blog_aux="no" blog_type="standard" masonry_effect_type="effect-2" item_count="5" category="All" offset="0" posts_order="DESC" show_title="yes" show_excerpt="yes" show_details="yes" excerpt_length="20" content_output="excerpt" show_read_more="yes" pagination="load-more" width="1/1" el_position="first last"]')?>                            
    

    Which I am using to generate a list of blog posts in a similar way that you can do this using the SPB by adding a Blog element. However when I click on the “Load More” button to show more posts I get the same 5 posts being added to the list… I don’t know why this is happening.

    Can you suggest a possible cause for this?

    Thanks,
    – J

    #246015
    David Martin – Support
    Moderator
    Post count: 20834

    @Jackcoldrick is there a need to use do_shortcode ? Can you not add the shortcode to the WP Editor?

    Also you are missing a closing ; Here )?> it should be ); ?>.

    – Is that shortcode custom made or powered by a 3rd party plugin.

    Thanks.

    #246020
    Jackcoldrick
    Member
    Post count: 84

    Hey Dave,

    I am custom building a front page so I wanted to use the short code provided by the SPB. One of your colleagues on a previous thread suggested I use do_shortcode() to achieve this.

    could you point me to the location of the code which handles the AJAX request for the new posts when the load more button is clicked and I can investigate further on my end as I understand this issue is most likely outside of the level of support you can offer customers.

    Thanks,
    Jack

    #246455
    Jackcoldrick
    Member
    Post count: 84

    Any Update on this dave???

    I’m trying to find the code that is executed when below shortcode is run:

    [blog show_blog_aux=”no” blog_type=”standard” masonry_effect_type=”effect-1″ item_count=”5″ category=”All” offset=”0″ posts_order=”DESC” show_title=”yes” show_excerpt=”yes” show_details=”yes” excerpt_length=”20″ content_output=”excerpt” show_read_more=”yes” pagination=”load-more” width=”1/1″ el_position=”first last”]

    Thanks,
    J

    #246462
    Jackcoldrick
    Member
    Post count: 84

    I’ve done a bit of research across the support forumn these people seem to be having the exact same issue as me:

    Blog pagination problems since last updates

    BLOG MASONRY POSTS REPEATED

    Is there anything I can do to resolve this!!

    #246465
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    The issue came from the WordPress update, it’s a permalink issue. We suggest having the button to take them to the blog page to view more posts

    – Kyle

    #246466
    Jackcoldrick
    Member
    Post count: 84

    Hmm, ok makes sense! Thanks Kyle. I’ll do that

    #246467
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register