Forum Replies Created
-
AuthorPosts
-
inhouse
ParticipantFor further clarification, the field data that is output shows that each field entry is duplicated.
<ul> <li>Entry 1</li> <li>Entry 1</li> <li>Entry 2</li> <li>Entry 2</li> </ul>And here’s the template below. We’re getting the custom field data for venue ID 83 and displaying it in the header.
$get_smith_hours = mcm_get_custom_field( '_hour-grouping', 83, false, 'array' ); foreach ( $get_smith_hours as $get_smith_hour ) { $parts = explode( ': ', $get_smith_hour ); echo "<li class='header-contact-item'><span class='days'>" . $parts[0]. ":</span> <span class='hours'>". $parts[1]."</span></li>"; }inhouse
ParticipantThanks for your reply. The custom field values are being duplicated. The screenshot should illustrate that. http://imagebin.org/297225
I can grant someone from Tribe access to the the build site in a private message if that would help.
February 27, 2014 at 10:58 am in reply to: Modify Related Events Criteria – Exclude Category #110267inhouse
ParticipantI thought about using my own wp_query or get_posts but this would load all past events as well.
inhouse
ParticipantNevermind. Please delete
inhouse
ParticipantI completely understand not being able to handle everyone’s customization questions. That’s why I chose to contact you via the contact form requesting a proposal. Yes, please send me a list of recommended devs who are experienced with this plugin. We work with other devs but I would think the cheapest route would be to work with someone who knows the plugin well. Honestly I’m really surprised Tribe isn’t interested in paid work like this. It seems like it would be a huge money maker since questions like mine are so simple and have been done a million times before. Thanks again for your help!
inhouse
ParticipantThanks for the quick reply @barrykenobi .
My #3 is resolved thanks to your code.I read through a bunch of tutorials and forum threads on how to accomplish #1 and 2 and am coming up short. I can add the required fields manually but have no idea how to hook them up to the search. I would also like the dropdowns populated dynamically instead of manually do that when categories and venues change, the dropdowns do as well.
My attempt: http://pastebin.com/dMUtyaEa
inhouse
ParticipantThanks Brook, that was helpful. I ended up removing the tribe_single_related_events() function from my template override and called the data I needed directly.
Ex.$start_date = tribe_get_start_date(); $end_date = tribe_get_end_date(); if(!empty($start_date)) { echo '<div class="single-event-start-date">' . $start_date . '</div>'; }I’m trying to change the date format to use “to” instead of “@”. Do I do this with tribe_events_event_schedule_details? I tried placing this function in my theme functions file but it breaks everything and displays a blank screen. Is this because I need to remove_action/add_action? I tried to figure it out on my own but I’m not sure if this is even the issue. It was a ton of code to just edit the ampersand. After that I should be done with related events! Thanks for all your help.
inhouse
ParticipantHey @ken, I’m wondering the exact same thing. Have you made any progress with this? I replaced tribe_events_single_event_meta() in my functions file but there are other functions nested within that really alter the finer details. I need to be able to customize the event “Details” output but am not really seeing anything specific. The tribe_get_meta_group function doesn’t include any specific HTML to customize that I can see thus far.
inhouse
ParticipantSorry for piggybacking but I would also like to know how events are related to each other. Is it strictly based on similar category or is it based on similar title? I don’t see any UI options in the event editor to specify that an event should be related to another. Thanks!
-
AuthorPosts
