Is there an easy code I can add to my functions.php to add a custom URL section that only shows if valorized with a value to an external ticket system? I need two links for some of their exhibits. I know i could just hard code it in the description and I tried to add something with with ACF but ACF doesn't recognize STEC. Ideally it would be on the introduction page.
I've tried this on a staging site. How do I actually add a new custom field for events with another url link to the introduction page. Is there anyway to reveal "events" as a post type in Advanced Custom Fields and then use your provided script below to show those fields if present?
Is there an easy code I can add to my functions.php to add a custom URL section that only shows if valorized with a value to an external ticket system? I need two links for some of their exhibits. I know i could just hard code it in the description and I tried to add something with with ACF but ACF doesn't recognize STEC. Ideally it would be on the introduction page.
Hi,
You could filter the items before return and attach the extra content if certain condition is met like this:
Stachethemes Developer
Similarly for the event single page. The calendar has following filter:
Stachethemes Developer
Zhivko,
I've tried this on a staging site. How do I actually add a new custom field for events with another url link to the introduction page. Is there anyway to reveal "events" as a post type in Advanced Custom Fields and then use your provided script below to show those fields if present?