evossman

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Control "title" tags in wp_head for tribe events #65817
    evossman
    Participant

    Rob, that is correct.
    Cheers

    in reply to: Control "title" tags in wp_head for tribe events #63752
    evossman
    Participant

    Okay, 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

    in reply to: Genesis Full-width not working #63728
    evossman
    Participant

    Okay, 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.

    in reply to: Genesis Full-width not working #63700
    evossman
    Participant

    Sorry, that should be if(tribe_is_month)

    in reply to: Genesis Full-width not working #63695
    evossman
    Participant

    I’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;
    }

    evossman
    Participant

    I have this same issue when using Woothemes City Guide. Just as an FYI.

Viewing 6 posts - 1 through 6 (of 6 total)