Include events in main blog loop doesn't work with display-posts-shortcode plugi

Home Forums Calendar Products Events Calendar PRO Include events in main blog loop doesn't work with display-posts-shortcode plugi

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1002744
    tom wible
    Participant

    as my site uses a static front page, i am using
    https://wordpress.org/plugins/display-posts-shortcode/ in a page to display them.

    unfortunately, ‘Include events in main blog loop’ doesn’t work with it…anyone else have this issue?

    i’m also asking on d-p-sc forum…

    #1002747
    tom wible
    Participant
    #1002907
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out here.

    The Events will only show on the main page if you are using the main WordPress Loop to get posts. If not that feature does not work.

    If the shortcode you are using has the ability to add a custom post type that might work then.

    The event custom post type is:

    tribe_events

    Let me know if you have any follow up questions.

    Thanks

    #1003053
    tom wible
    Participant

    by main WordPress Loop you mean

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

    correct? i’ll dive into the shortcode…code, thanx:-)

    #1003086
    Brian
    Member

    That is a part of the loop coding, yes.

    I should say the main WordPress query.

    The shortcode is separate from that query so that is why our coding does not work on it.

    #1007826
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Include events in main blog loop doesn't work with display-posts-shortcode plugi’ is closed to new replies.