Ready to get started?Download WordPress


The Events Calendar
[resolved] Post events in blogroll (4 posts)

  1. GDDG
    Posted 2 years ago #


    Trying to get The-events-calendar to post events in the first pages blogroll. This is for not getting two types of parallel postings, one for "normal" postings and one for events. http://brooklynbrewery.com/blog/ have made this nicely with the same plugin. Do you know how?



  2. GDDG
    Posted 2 years ago #

    I found this peace of code regarding PRO-version, does anybody know away to achieve the same result with the freebee?

    add_filter( ‘pre_get_posts’, ‘include_events_on_home’ );
    function include_events_on_home( $query ) {
    if ( is_home() && false == $query->query_vars['suppress_filters'] )
    $query->set( ‘post_type’, array( ‘post’, ‘tribe_events’, ‘attachment’ ) );
    return $query;
  3. GDDG
    Posted 2 years ago #

  4. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Hey CDDG, awesome to hear you got this resolved. Sorry you had to find a resolution before we were able to get you an official response from the team, but all's well that ends well :) Let us know if you need anything else down the road.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic