• Resolved bszakacs

    (@bszakacs)


    Hi

    How can we list event tags? We tried with:
    [tags_list]#_TAGLINK[/tags_list]
    This is similar to the locations list shortcode, but it does not work.

    Any idea?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try this custom snippet – https://pastebin.com/fYBGiM66

    Thread Starter bszakacs

    (@bszakacs)

    Hi. thanks, but it’s not working. It breaks the whole site.

    janetmongo

    (@janetmongo)

    I’m having the same issue. I copied/pasted the code snippet to my theme’s functions page and got the following error: syntax error, unexpected ‘=’, expecting ‘)’

    Thread Starter bszakacs

    (@bszakacs)

    Same here. Any idea or fix?

    Thread Starter bszakacs

    (@bszakacs)

    Found a fix: you need to remove the argument from between the paranthesis. So the code is:

    /**
    This snippet will add new shortcode [tags_list]
    */
    function em_get_tags_shortcode(){
      echo EM_Tags::output();
    }
    add_shortcode('tags_list', 'em_get_tags_shortcode');
    • This reply was modified 3 years, 11 months ago by bszakacs.

    Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Tag cloud’ is closed to new replies.