megamaaan
Forum Replies Created
-
Yeah ??
Thank you!I installed a PHP Plugin and put that Code on my “Tag Page”:
/* @var $EM_Event EM_Event */
$tags = get_terms(EM_TAXONOMY_TAG);
if( is_array($tags) && count($tags) > 0 ){
$tags_list = array();
foreach($tags as $tag){
$link = get_term_link($tag->slug, EM_TAXONOMY_TAG);
if ( is_wp_error($link) ) $link = ”;
$tags_list[] = ‘‘. $tag->name .’‘;
}
echo implode(‘, ‘, $tags_list);
}Now I have a List of all my Tags ??
Hey,
thank you for helping!
This funktion i am using already, but only on the event pages.
I want a list of all tags, like the list of all categories.
What is the easiest way to solve this?
Write a new shortcode?Hello,
for your first problem you can add this in “forms/layout”
#_EVENTCATEGORIES
Shows a list of category links this event belongs to.
or this:
#_CATEGORYNAME
Shows the category name of the event.But there is also another option to solve your problem, when you use this:
Custom AttributesEvents Manager allows you to create dynamic attributes to your events, which act as extra information fields for your events (e.g. “Dress Code”). For more information see our online documentation for more info on attributes.
#_ATT{key}
This key will appear as an option when adding attributes to your event.
#_ATT{key}{alternative text}
This key will appear as an option when adding attributes to your event. The text in the second braces will appear if the attribute is not defined or left blank for that event.
#_ATT{key}{option 1|option 2|option 3|etc.}
This key will appear as an option when adding attributes to your event. The second braces are optional and will use a select box with these values as input. If no valid value is defined, the first option is used.