Calling Custom Field / Taxonomy

Home Forums Calendar Products Events Calendar PRO Calling Custom Field / Taxonomy

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #940270
    cshco
    Participant

    Hello 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:

    http://pastebin.com/yTfEz81D

    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&nbsp; <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&nbsp; <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!

    #940285
    Geoff
    Member

    Hi 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!
    Geoff

    #940290
    cshco
    Participant

    Even as a pro user with Premium Support?

    #940301
    Geoff
    Member

    Yes, 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!
    Geoff

    #943836
    Geoff
    Member

    Hello 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Calling Custom Field / Taxonomy’ is closed to new replies.