• Resolved mlis

    (@mlis)


    Hi,
    when we use shortcode:
    $shortcode_content = ‘[ajax_load_more button_label=”Load More” posts_per_page=”4″ post_type=”post, video, news” pause=”true” offset=”1″ ‘ .’post__in=”‘ . $included_to_string . ‘” scroll=”false” transition=”fade” orderby=”date” order=”DESC”]’;

    echo do_shortcode($shortcode_content);

    Some posts appears twice. It displays only included posts, but some posts are displayed twice.Same happens when i use post__not_in and excluded posts. Good posts appears but some twice.
    When i use same loop without excluding or including posts, posts are displayed once.
    When i change your plugin version to 3.1.0 all works ok

Viewing 1 replies (of 1 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @mlis,
    Where are they appearing twice? In the Ajax Load More loop? Or do you mean posts are loaded before ALM and then also being displayed in Ajax Load More?

Viewing 1 replies (of 1 total)
  • The topic ‘Post Displayed Twice’ is closed to new replies.