Event Organiser
Post events to main blog feed? (5 posts)

  1. Scott DeToffol
    Posted 3 years ago #

    Is there a way for the events to appear on the main blog as posts?


  2. Stephen Harris
    Plugin Author

    Posted 3 years ago #

    Yes, there are several ways of doing it. Essentially you just need to include the 'event' post type in the main loop. There are some drawbacks however. See related thread:

  3. Scott DeToffol
    Posted 3 years ago #

    Steven, I posted a question on that thread you linked to about adding events to the main loop when using the Genesis framework. Any help with that specific instance would be appreciated, thanks!

    Love the plugin BTW, thanks.

  4. Stephen Harris
    Plugin Author

    Posted 3 years ago #

    Cheers! I'm afraid I've never used the Geneisis framework. One of the files in the theme will contain the loop: Something like:

    while(has_posts()): the_post();


    See the linked topic on what alterations to make just before it. But as I say, I've never used it, so I can't be of anymore help.

  5. Scott DeToffol
    Posted 3 years ago #

    I figured out how to use the Genesis Simple Hook plugin to get the code before the hook.

    global $wp_query;
    $args = array_merge( $wp_query->query, array( 'post_type' => array('post','event') ));
    query_posts( $args );

    But, when I have this code on the site, the events no longer show up in the Events Organizer loop ("Sorry, no posts matched your criteria."), and they still don't show up on the main loop. I can still get to the event page itself though, so it is there.

    I'm close, I just know it!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Event Organiser
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic