Home › Forums › Calendar Products › Events Calendar PRO › Calling Custom Field / Taxonomy
- This topic has 4 replies, 2 voices, and was last updated 11 years, 3 months ago by
Geoff.
-
AuthorPosts
-
February 5, 2015 at 9:09 am #940270
cshco
ParticipantHello there,
At my job, I inherited a WordPress install with a custom Event Calendar in place.
We have our Events organized in 2 categories, as well as 15 industries. Which Have been setup as custom taxonomy.
The individual I replaced created a custom shortcode function here:
All I want to do is modify this one function.
if ($link == 'yes') { if (has_term( 'webinars', 'tribe_events_cat', $eventpost->ID )) { $output .= '<div class="eventlist-more-link"><a href="/guidance/latest-webinars/">More Webinars <i class="fa fa-arrow-circle-right"></i> </a> </div>'; } elseif (has_term( 'conferences', 'tribe_events_cat', $eventpost->ID )) { $output .= '<div class="eventlist-more-link" ><a href="/events/upcoming/?tribe_eventcategory=70">More Conferences <i class="fa fa-arrow-circle-right"></i> </a> </div>';} else { } }As you can see this function outputs “More Conferences” which links to the CATEGORY of the post.
I want it to link to the INDUSTRY taxonomy instead.
For example instead of linking to “/events/upcoming/?tribe_eventcategory=70” it would dynamically link to the industry that it has been assigned with.
“/events/list/?tribe_event_industry=88”
Again, I don’t want to link to conferences in this function. Instead I want to link to a custom taxonomy we created called Industries.
As you can see from the pastebin link, $event_industry is called at the start of the document.
I tried calling it without sucess although, this isn’t my area of expertise.
Please help. Thanks!
February 5, 2015 at 9:43 am #940285Geoff
MemberHi there, Carl! Thanks for getting in touch.
I’m sorry, but we aren’t able to support this sort of custom development here in the forums. However, we do have the following resources available that you may find useful for hooking your custom taxonomy up to the calendar:
- Technical Docs: an overview of the plugin functions
- Themer’s Guide: an outline of how to customize the plugin templates and appearance
- Tutorials: a collection of tips and tricks for modifying the plugins beyond its standard functionality
If you’re looking for someone to help build this for you, send us an email to support [at] theeventscalendar.com and we’d be happy to share a list of freelancers who might be able to help. Alternatively, you might consider reaching out to the person who developed the first customization.
Sorry I don’t have a concrete solution here for you, but I hope this helps point you in the right direction. I’m also happy to leave this thread open a while to see if any members from the community have any tips to contribute.
Cheers!
GeoffFebruary 5, 2015 at 10:04 am #940290cshco
ParticipantEven as a pro user with Premium Support?
February 5, 2015 at 10:27 am #940301Geoff
MemberYes, our support is here to help you troubleshoot bugs and help resolve issues in a timely manner. We outline the difference between bugs and customizations on the front page of our the forums as well as our terms of service.
If you’re looking for help with custom development, we’d be happy to send you some freelancers who can help. Otherwise, however, providing custom development here is the forums is outside the scope of what we provide here in the forums.
I hope this helps clarify things a bit. And, as I mentioned before, I’m happy to leave this thread open a while to see if anyone from the community is able to contribute a solution.
Cheers!
GeoffFebruary 19, 2015 at 5:54 pm #943836Geoff
MemberHello Carl! This thread’s been quiet for a couple of weeks, so I’m going to go ahead and close it. Please feel free to start a new one of any additional questions pop up and we’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Calling Custom Field / Taxonomy’ is closed to new replies.
