[Plugin: Events Manager] Using shortcodes and EM Placeholders together
-
Hi, I really like this plugin and am just trying to sort it out to revert my site from the current event manager to this plugin. What the current one allows me to do is enter a tag for NG Gallery on each event.
For example, I enter in the code “cream-ibiza” into the admin, which then enters that value into the shortcode like this:
[nggtags gallery="cream-ibiza"]
, now I’ve tried using the placeholders included with Events Manager like[nggtags gallery="#_CATEGORYID"]
– however, this doesn’t work and just returns a blank when viewing the event page. How can I get this to work?Also, I have a link to an affiliate for ticket sales, and I’ve added a new attribute onto the events page for this, so that when I enter the URL for the affiliate it displays it on the event description. However, I’d like to style it so that there’s a bit of code at the start and end of the url, for example < a href=”affiliate link”>text< / a>, but I don’t want that code to appear unless there’s a value in the attribute – how can I do that? Sort of like this… {has_bookings}
<h3>Bookings</h3>
#_BOOKINGFORM
{/has_bookings}Any help would be greatly appreciated! I’m also there ??
Ta
- The topic ‘[Plugin: Events Manager] Using shortcodes and EM Placeholders together’ is closed to new replies.