Viewing 4 replies - 1 through 4 (of 4 total)
  • Stephen Harris

    (@stephenh1988)

    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:
    http://wordpress.org/support/topic/plugin-event-organiser-add-events-to-main-loop-and-feed

    Thread Starter Scott DeToffol

    (@sdetoffol)

    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.

    Stephen Harris

    (@stephenh1988)

    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();

    `endwhile;

    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.

    Thread Starter Scott DeToffol

    (@sdetoffol)

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

    <?php
    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!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Event Organiser] Post events to main blog feed?’ is closed to new replies.