Home › Forums › Calendar Products › Events Calendar PRO › Link to external course booking page
- This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by
George.
-
AuthorPosts
-
June 9, 2015 at 2:29 pm #968270
Tom Brennan
ParticipantHi Guys,
Basically I want to be able to list the events (courses) using your plugin but then have an “enrol now” link on each one that will go off to our external course management site. It wouldn’t need to automatically map using title or anything like that it would be a unique URL that I would enter for each course.
Cheers,
Tom
June 10, 2015 at 7:10 am #968420George
ParticipantHey Tom,
Thanks for reaching out. You described your goal as this:
It wouldn’t need to automatically map using title or anything like that it would be a unique URL that I would enter for each course.
From the sound of things, wouldn’t just manually entering the link at the top of your post content for events, then writing the rest of the content beneath it, work here? If not, why not?
If you want a custom field or something where you can specify this link, your best option is to use the “Additional Fields” feature within PRO, which you can learn about here → https://theeventscalendar.com/knowledgebase/pro-additional-fields/
Let us know if that helps!
— George
June 10, 2015 at 6:29 pm #968663Tom Brennan
ParticipantHi George,
Thanks for your reply
Additional fields may work but I was thinking more along the lines of a button, like the book now buttons offered for other services, that would just allow me to enter the cutom url for each course (event).
I’m trying to keep it as simple as possible for the people who will be maintaining this on a day to day basis.
Cheers,
Tom
June 11, 2015 at 8:02 am #968799George
ParticipantSounds good Tom – you can use custom meta values to simply store the URL, and then display it however you’d like. In a button, in a popup, just display it in plain-text, anything you’d like.
The “Additional Fields” resource I shared with you above should be helpful on how to use this data, and if you’re curious for more technical information here, check out the get_post_meta() function within WordPress which you can learn about here → http://codex.wordpress.org/Function_Reference/get_post_meta
In either case, you will need to “Get” the data for your custom URL field on an Events Template, then put it in a button or anything else you’d like. To share one last piece of information with you, but an extremely important one, you should check out our official themer’s guide here to learn exactly how to make a custom events template → https://theeventscalendar.com/knowledgebase/themers-guide/
The themer’s guide and then one of the custom field-related items above it should help you get started here. Be sure to keep good backups of any custom code you make, and give this a shot! 🙂
George
-
AuthorPosts
- The topic ‘Link to external course booking page’ is closed to new replies.
