• Resolved nivos89

    (@nivos89)


    Hi All,

    I get quite a lot of calls from customers who think they should book my events via the calendar and not the individual events pages. I’ve added some text over the calendar to make it more clear but i was wondering if anyone knows if i can change the “Website” field under Details? maybe if i could write something like “Learn More” or “To Book” it will solve the issue?

    Image below to clarify my meaning:

    https://ibb.co/dQmYPqk

    Thank you in advance!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Darian

    (@d0153)

    Hi @nivos89

    Thanks for reaching out. Let me help you with this one.

    To change the “Website” label, you can try using the following custom snippet:

    function change_website_label(){
    	return 'MYWEBSITETITLE';
    }
    
    add_filter( 'tribe_events_get_event_website_title', 'change_website_label');

    Change the “MYWEBSITETITLE” to your desired label.

    As always, please test this first on your staging site to avoid unnecessary downtime to your live site.

    If you’re not familiar with coding, you can use the Code Snippets plugin, which removes the need to add custom snippets to your theme’s functions.php file.

    I hope that helps, and let me know if you have further concerns.

    Thread Starter nivos89

    (@nivos89)

    Thank you for your help Darian!

    sadly that didn’t seem to work, i think there is an error (possibly with the way i uploaded the code )

    https://ibb.co/Z8Wvd41

    Thoughts? thanks!

    Frank Remmy

    (@frankremmy)

    Hello @nivos89,

    According to the error message, ) is missing from the code you pasted.

    Be sure to copy-paste the properly.

    function change_website_label(){
    	return 'MYWEBSITETITLE';
    }
    
    add_filter( 'tribe_events_get_event_website_title', 'change_website_label');

    Thread Starter nivos89

    (@nivos89)

    Ha! it works ?? thank you.

    i didn’t realise the code was longer than the display on the thread. thanks for clarifying and solving my questions.

    Frank Remmy

    (@frankremmy)

    Hello @nivos89,

    You’re very welcome. I’m glad everything is working for you.

    If you have a moment, we would really appreciate it if you could share your feedback with others. You can leave a review for The Events Calendar here.

    By sharing your experience on www.remarpro.com, you’ll demonstrate the power of using The Events Calendar for event management to others. Plus, you’ll totally make my day. ??

    Either way, I’m here if any questions come up! 

    With gratitude,

    Frank

    Thread Starter nivos89

    (@nivos89)

    thanks frank, already reviewed 5 star a while ago ??

    Frank Remmy

    (@frankremmy)

    Hello @nivos89,

    Thank you as well.

    I’ll close this thread for now, but if anything else comes up, please don’t hesitate to open a new one; we’ll be happy to help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Changing fields under details’ is closed to new replies.