Home › Forums › Calendar Products › Events Calendar PRO › Changing the url labels
- This topic has 16 replies, 3 voices, and was last updated 10 years ago by Casey.
-
AuthorPosts
-
February 28, 2014 at 6:45 pm #111027irishrunner16Participant
Hi. I tried placing the following code in my functions.php to change the text/label that is displayed for the Event Website url (changing tribe_get_organizer_website_url to tribe_get_event_website_url): http://pastebin.com/nYTGg2DF
It’s working, but unfortunately it’s also changing the labels for my Additional Fields that are urls. How can I get unique labels on the Event Website, as well as the additional fields?March 3, 2014 at 8:36 am #111563CaseyParticipantSean,
Thanks for reaching out. How do you have your URL labels set up? Are they set up as Additional fields (Events->Settings->Additional Fields)? The reason I’m asing is because I wasn’t able to replicate your issue in my environment (screenshot), since only my ‘Event Website’ field is displaying ‘See Website.’So, if you could just give me a little more information, I’ll investigate further. Thanks! 🙂
-Casey-
March 3, 2014 at 10:12 am #111619irishrunner16ParticipantThis reply is private.
March 3, 2014 at 10:14 am #111623CaseyParticipantSean,
Could you paste in the exact code you’re using in your functions.php file to somewhere like pastebin so I can look closer? Thanks!March 3, 2014 at 11:26 am #111689irishrunner16ParticipantThis reply is private.
March 4, 2014 at 5:00 am #112129CaseyParticipantIt says the paste is private, so I’m unable to view it. Could you change the permissions? Thanks!
March 4, 2014 at 6:43 am #112169irishrunner16ParticipantSorry about that Casey; thought private just meant that only members could view it! I’ve changed it to unlisted so hopefully you can view it now.
March 4, 2014 at 7:11 am #112181CaseyParticipantSean,
Ok, that helps. Could you send me a private reply with a login to your site, so I can investigate further? Thanks!March 4, 2014 at 8:11 am #112260seanParticipantThis reply is private.
March 4, 2014 at 8:14 am #112262irishrunner16ParticipantThis reply is private.
March 4, 2014 at 8:21 am #112273CaseyParticipantSean,
For some reason when saving some changes to your functions.php file, the server didn’t respond, which caused a partial file to get saved. Could you send me some FTP credentials so I can fix it ASAP? Thanks!March 4, 2014 at 8:44 am #112294irishrunner16ParticipantThis reply is private.
March 4, 2014 at 8:46 am #112296CaseyParticipantNo problem! Just remove the last function in your functions.php file: ‘rewrite_website_link_label’. I forgot to rename the function and it looks like the duplicate function name is causing the error. 🙁
March 4, 2014 at 9:03 am #112311irishrunner16ParticipantOk thanks. It looks like the Event Website label is now correctly only showing up for only that url. Thanks for catching that error in the function!
One last thing – how can I get custom link labels for my Additional Fields?March 4, 2014 at 9:43 am #112322CaseyParticipantSean,
Unfortunately we can’t target specific links in the additional fields, but if you just use some more generic text like this (screenshot), then I think that might do the trick. Let me know if that will work. Thanks! 🙂-Casey-
-
AuthorPosts
- The topic ‘Changing the url labels’ is closed to new replies.