Home › Forums › Calendar Products › Events Calendar PRO › Displaying Custom Fields
- This topic has 7 replies, 3 voices, and was last updated 10 years, 10 months ago by
Support Droid.
-
AuthorPosts
-
April 2, 2012 at 5:35 pm #17507
Donna
ParticipantHi
I recently upgraded a client’s calendar to the PRO version in part so that I could make use of the custom field options. I would like to add list of links, including a registration link (using an EventBrite URL). Basically, I would like it to say:How do I add the custom field information without having show the title of the field (EventBrite Link) and allow for the URL to be workable?
(PS – the spaces in the code are simply because i couldn’t get it to display it here without just showing a link…)
Thanks!April 2, 2012 at 5:37 pm #17508Donna
Participantmeh, it still didn’t display correctly… but you get the picture… I just want to grab the URL and put it in the href section of the link html.
April 2, 2012 at 6:17 pm #17510Donna
ParticipantI would like to add too that I can list the custom field via php with:
tribe_the_custom_fields(‘EventBrite’);
BUT i really just want the URL to be placed into the link tag like this: href=”EVENT BRITE LINK ”
Also when I put the url in the format of http://www.linkname.com – it doesn’t show as a link, it simply displays as some text which is fine but I read in another post that it should be converted to a link. If that is the case, then I really want to simply show the value of the field without showing the title/label of the field.
April 3, 2012 at 9:34 am #17539Jonah
ParticipantHi Donna, you should be able to use:
echo tribe_get_custom_field('EventBrite');
which will only return the value input in the custom field and nothing else. Put that in the href attribute and you should be good to go!
April 9, 2012 at 1:56 pm #17739Donna
ParticipantGreat! Thank you!
April 9, 2012 at 2:01 pm #17740Donna
ParticipantO but wait… in the meta box on the single event page, the link appears only as static text as seen here:
http://sacredlomi.com/new/event/3-day-lomi-lomi-workshop-in-fairfax-va/I read in another post that it should be automatically converted to a link…
April 9, 2012 at 2:22 pm #17743Jonah
ParticipantRight, you need to put the link into an href like so: https://gist.github.com/17b7655a61e24d264a56
July 6, 2015 at 5:00 pm #976481Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Displaying Custom Fields’ is closed to new replies.
