Change all my links to single event to the website url field

Home › Forums › Calendar Products › Events Calendar PRO › Change all my links to single event to the website url field

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1136224
    Inbar
    Participant

    Hi,

    I want to switch all my links in my events posts to the “website url” of the event,

    I tried to change the href=”” in my template for tribe_get_event_website_url() but this does not return any link just the current page. how can I change it,

    I sow a post about changing all titles to website url, but I have some other links as well that need to point to the website url, how can I return the value of this field for a single post in a loop to use.

    Thanks for your help.

    #1136382
    Cliff
    Member

    Hi Inbar.

    Here’s a code snippet for you:

    https://gist.github.com/cliffordp/298b904e5f902a7b09e28c7a8bc7b592

    Please let me know how it works for you.

     

    #1139960
    Inbar
    Participant

    Thanks!

    That pointed me in the right direction,

    Thanks Again

    #1140077
    Cliff
    Member

    Excellent. Thanks for letting me know.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change all my links to single event to the website url field’ is closed to new replies.