Markup problems with [categories_list]
-
I’m trying to add a category list to my main Events page. I’m testing the code suggested on the shortcodes documentation page:
<ul>[categories_list hide_empty=0]<li>#_CATEGORYLINK</li>[/categories_list]</ul>
I add that before the “CONTENTS” text, under the “Text” tab in the editor and click “Publish.” When I look at the markup of the updated page, the category list looks like this:
<ul> <li><a href="/">Category 1</a></li> <p> </p> <li><a href="/">Category 2</a></li> <p></p> ...etc. </ul>
Why the empty paragraph tags?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Markup problems with [categories_list]’ is closed to new replies.