How to edit order of information outputed in tribe_get_full_address

Home Forums Calendar Products Events Calendar PRO How to edit order of information outputed in tribe_get_full_address

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1505989
    otherness
    Participant

    How can I edit the order of information outputted in tribe_get_full_address?

    For example I want to remove city from the output when I echo ‘tribe_get_full_address’

    Thanks

    #1506017
    otherness
    Participant

    Also I would like to edit $website_link; show when I echo this it opens in a new tab. I want to add target=”_blank” but not sure where to add this code?

    Thanks

    #1507097
    Victor
    Member

    Hi Russell!

    Thanks for getting in touch with us!

    First, please let me note that we are fairly limited in how much support we can give for custom development questions like that.

    That said, we always like helping out and at least point users into the right direction as much possible.

    The tribe_get_full_address() function is located at /wp-content/plugins/the-events-calendar/src/functions/template-tags/venue.php file in line 204.

    You can use the tribe_get_full_address filter available to customize the output of that function.

    for the website link target there is also a filter available in that same file to customize it. It’s the tribe_get_venue_website_link_target filter in line 648

    Hope that helps! 🙂

    Best.
    Victor

    #1523647
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to edit order of information outputed in tribe_get_full_address’ is closed to new replies.