titusraj

Forum Replies Created

Viewing 7 posts - 91 through 97 (of 97 total)
  • Author
    Posts
  • in reply to: Thumbnail with Event List Advanced Widget #48523
    titusraj
    Participant

    Hi Barry, I have got this working the way, except, I can’t get the images to show on the footer widgets for single post or single pages. It works exactly the way I want on the catgories and home page.
    Thanks
    Titus

    in reply to: Thumbnail with Event List Advanced Widget #48143
    titusraj
    Participant

    You need to use this otherwise nav bars only appear on the homepage
    add_filter(‘pre_get_posts’, ‘query_post_type’);
    function query_post_type($query) {
    if(is_archive() || is_tag() || is_home() && empty( $query->query_vars[‘suppress_filters’] ) ) {
    $post_type = get_query_var(‘post_type’);
    if($post_type)
    $post_type = $post_type;
    else
    $post_type = array(‘post’,’tribe_events’,’attachment’,’nav_menu_item’);
    $query->set(‘post_type’,$post_type);
    return $query;
    }
    }

    in reply to: Thumbnail with Event List Advanced Widget #48142
    titusraj
    Participant

    This is the full code

    // Registers core WordPress category and taxonomy taxonomies on the “Events” post type registered by the plugin “The Events Calendar”
    add_action( ‘init’, ‘ac_add_calendar_taxonomy’, 20 );
    function ac_add_calendar_taxonomy() {
    register_taxonomy_for_object_type(‘category’, ‘tribe_events’);
    register_taxonomy_for_object_type(‘post_tag’, ‘tribe_events’);
    }

    add_filter(‘pre_get_posts’, ‘query_post_type’);
    function query_post_type($query) {
    if(is_archive() || is_tag() || is_home() && empty( $query->query_vars[‘suppress_filters’] ) ) {
    $post_type = get_query_var(‘post_type’);
    if($post_type)
    $post_type = $post_type;
    else
    $post_type = array(‘post’,’tribe_events’,’attachment’);
    $query->set(‘post_type’,$post_type);
    return $query;
    }
    }

    in reply to: Thumbnail with Event List Advanced Widget #48141
    titusraj
    Participant

    I have used this method as a temporary measure as it seemed easier for now as the featured thumbnails, I believe is going to be part of 3.0. However you do have to choose a normal category outside events. If you look at the bottom of my site http://www.musicforlondon.co.uk, under theatre tickets, I get the desired aesthetic effect

    Add to theme functions

    // Registers core WordPress category and taxonomy taxonomies on the “Events” post type registered by the plugin “The Events Calendar”
    add_action( ‘init’, ‘ac_add_calendar_taxonomy’, 20 );
    function ac_add_calendar_taxonomy() {
    register_taxonomy_for_object_type(‘category’, ‘tribe_events’);
    register_taxonomy_for_object_type(‘post_tag’, ‘tribe_events’);
    }

    in reply to: All info on Events RSS Feed #47788
    titusraj
    Participant

    Hi Barry,
    Don’t worry about this, I have just realised the calendar version 3.0 is being released soon, I will not need this workaround.

    Cheers
    Titus

    in reply to: All info on Events RSS Feed #47782
    titusraj
    Participant

    Thank you for your help, I tried it, but the feed collects 2 jpegs, I believe it is showing the excerpt data as well. Is there a theme that it would be more compatible with?

    in reply to: All info on Events RSS Feed #47676
    titusraj
    Participant

    Basically following up on the first question above, just to clarify, I reguire the full info to be on the RSS feed.

    Question 2
    is there away to add a thumbnail with ‘event list advanced widget’ I notice this option is not available on the event list widget.
    Thanks
    Titus

Viewing 7 posts - 91 through 97 (of 97 total)