Forum Replies Created
-
AuthorPosts
-
evossman
ParticipantRob, that is correct.
Cheersevossman
ParticipantOkay, it seems like the solution is similar to my troubles with genesis and full-width. You need to detect the post type prior to making any changes. Prior to the if conditional logic above I put if(get_post_type() == ‘tribe_events’ || get_post_type() == ‘tribe_venue’ || get_post_type() == ‘tribe_organizer’){
I tried this with Yoast SEO which didn’t work but SEO Ultimate lets you disable the title rewrites. All was well. I’m sure yoast seo has a hook or filter or something to turn it off or to filter and you can do the same thing as described above. Full code here https://gist.github.com/evossman/6385046
evossman
ParticipantOkay, I think I solved it. I had to check for the post_type ‘tribe_events’.
if(get_post_type() == ‘tribe_events’). That makes every event calendar post, day, single, or category page full width. You can play around with get_post_type() == ‘tribe_organizer’ and ‘tribe_venue’ to set the widths.
I also had to pull in tribe-events.css and add some padding to make it have some padding.
#tribe-events-pg-template{
padding: 20px;
}You also need to set the display to default event template either in full styles or tribe events styles.
Hope this helps someone.
evossman
ParticipantSorry, that should be if(tribe_is_month)
evossman
ParticipantI’ve tried the following but it turns all category (not just event category) pages into full-width. https://theeventscalendar.com/tutorial-integrating-the-events-calendar-w-genesis/
/*—————————————————————*/
/* Set Custom Layouts
/*—————————————————————*/
add_filter(‘genesis_pre_get_option_site_layout’, ‘set_layouts’);
function set_layouts($layout) {if ( is_front_page() ) {
$layout = ‘full-width-content’;
}return $layout;
}August 22, 2013 at 6:09 pm in reply to: theme conflict Jquery failing on custom post type "tribe events"? #62542evossman
ParticipantI have this same issue when using Woothemes City Guide. Just as an FYI.
-
AuthorPosts
