leviticus

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • in reply to: Event Cost not displaying #1615287
    leviticus
    Participant

    Ok. Fresh set of eyes found the problem. It was a weird styling issue.

    Sorry to waste your time!

    in reply to: Event Cost not displaying #1615207
    leviticus
    Participant

    I’ve also noticed that my custom fields are also not showing up.

    <div class="grades">
                    <?php ob_start();
    tribe_get_template_part( 'pro/modules/meta/additional-fields', null, array(
        'fields' => tribe_get_custom_fields(),
    ) );
     
    $html = ob_get_clean();?>
                    <strong><?php echo $html; ?></strong>
                </div>
    in reply to: Event Cost not displaying #1615160
    leviticus
    Participant

    I’m not using Event Tickets or Eventbrite Tickets. Would my issue still be related to those plugins even if they aren’t installed? If not, any other thoughts as to why the cost isn’t pulling in?

    leviticus
    Participant

    I think that worked! Thank you for your help.

    leviticus
    Participant

    This reply is private.

    leviticus
    Participant

    Hmm… I tried that line in couple different spots in the function, but it is not working on the List Widget on a single page.

    Did you mean like this?

    add_action( 'pre_get_posts', 'tribe_exclude_events_category_month_list' );
    function tribe_exclude_events_category_month_list( $query ) {
    
    	if ( is_single() && tribe_is_event() ) return $wp_query;
    	if ( isset( $query->query_vars['eventDisplay'] ) && ! is_singular( 'tribe_events' ) ) {
    
    		if ( $query->query_vars['eventDisplay'] == 'list' && ! is_tax( Tribe__Events__Main::TAXONOMY ) || $query->query_vars['eventDisplay'] == 'photo' && $query->query_vars['post_type'] == Tribe__Events__Main::POSTTYPE && ! is_tax( Tribe__Events__Main::TAXONOMY ) && empty( $query->query_vars['suppress_filters'] ) ) {
    
    			$query->set( 'tax_query', array(
    
    				array(
    					'taxonomy' => Tribe__Events__Main::TAXONOMY,
    					'field'    => 'slug',
    					'terms'    => array( 'private', 'office' ),
    					'operator' => 'NOT IN'
    				)
    			) );
    		}
    
    	}
    
    	return $query;
    }
    
    in reply to: Date Display: If Month = Month #1164078
    leviticus
    Participant

    I think that did the trick. Thanks for you help!

    in reply to: Date Display: If Month = Month #1164076
    leviticus
    Participant

    This reply is private.

    • This reply was modified 7 years, 7 months ago by leviticus.
    in reply to: Duplicate header/footer info on single events #1082162
    leviticus
    Participant

    After getting nowhere inspecting the generated code, I scrapped everything in the template files and started fresh. Not really sure where the error was but that seemed to fix it.

    in reply to: Missing stylesheet option on Settings > Display #941333
    leviticus
    Participant

    Correct, I am not seeing that option on my display options page.

    in reply to: Related events cache conflict? #940339
    leviticus
    Participant

    Thanks Barry. The functions you provided seem to have added more variety in the generated related events.

    If I wanted to tweak the tribe_related_posts_args filter or tribe_get_related_posts hook, where would I find/edit/add that?

    in reply to: Mobile month view issue #155191
    leviticus
    Participant

    Thanks for checking in with me Casey. It’s been crazy here! I will take a look at it on Monday and get back you. So if you could keep this ticket open a little while longer that would be appreciated.

    in reply to: Header missing from single event #141595
    leviticus
    Participant

    Thank you! That did the trick. 🙂

    in reply to: Changing Date Format in v3 #56146
    leviticus
    Participant

    Thanks Neil and smallmammoth for the new information. I too would really appreciate a tutorial on how to non-destructively override/modify plugin functions such as ‘tribe_events_event_schedule_details’. I think that would provide the best plugin-wide solution. Let me know if that turns into a new thread.

    For the single event date modifications, I think I will just make a new template for that instance.

    in reply to: Changing Date Format in v3 #55708
    leviticus
    Participant

    I did notice something that may indicate that it is the Events plugin code causing the “2013” to be removed from the date line. As you can see from http://www.formannd.com/events/upcoming/?action=tribe_list&tribe_paged=2 the “2014” does appear on events happening next year but “2013” doesn’t appear on events happening this year. Is there a way to turn 2013 on in the date or will I have to create all new template files?

Viewing 15 posts - 1 through 15 (of 26 total)