WordPress.org

Ready to get started?Download WordPress

Forums

Add Events to the loop (3 posts)

  1. gumbotron
    Member
    Posted 2 years ago #

    I'm using WP 3.3.1 and Events Manager 5.1.6. I'm trying to get Events to appear in the loop with other blog posts. I've searched and found nothing, and the plugin developer points people here.

    Has anyone been able to get events in the loop without just posts with shortcodes? I'd like for WP to treat Event post types the same as Posts (as far as the main page goes) and just automatically show them like blog entries. Thanks.

  2. Marcus
    NetWebLogic Support
    Posted 2 years ago #

    generally speaking, to get events to be included, you just have to edit the post_type query var in WP_Query. By default, it only looks for pages.

    http://codex.wordpress.org/Class_Reference/WP_Query#Type_.26_Status_Parameters

  3. gumbotron
    Member
    Posted 2 years ago #

    Awesome, thanks. I'll have a look!

Topic Closed

This topic has been closed to new replies.

About this Topic