Home › Forums › MapPress Support › Shortcode in category description › Reply To: Shortcode in category description
July 10, 2012 at 11:27 am
#9876
Keymaster
Hi,
Ok, I’ll see if I can replicate the error.
But I would also suggest you try another approach. I think a little code in the theme file would work better than trying to embed shortcodes into the category descriptions.
For example: you could indicate that a category needs a map by using “*” as the first character in the category name. In the theme file if you see an “*” in the name then output the map for that category using do_shortcode().
This would also help to determine if there’s a general issue or if it was just a problem when embedding shortcodes in the descriptions.