[wp-trac] Re: [WordPress Trac] #7716: wp_list_categories adds a
</p> tag
WordPress Trac
wp-trac at lists.automattic.com
Sun Oct 26 07:46:18 GMT 2008
#7716: wp_list_categories adds a </p> tag
----------------------+-----------------------------------------------------
Reporter: mh79 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Template | Version: 2.6
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by mh79):
It could be that my description has not enough information.
we have a two level category stucture
no post is in the first level,
all post are in the second level.
When we use wp_list_categories('title_li=&show_count=1');
we get a list where the first link has a <p> tag,
this link is a link to a category in the first level with childs (in the
scond level)
no other link in the list in the first or second level have a <p> tag
when we add a category which is sorted before this category with the <p>
tag,
and we add a post to this new category so a new link to this category will
appear in the list,
and then no more <p> will be in the list
this is our current fix, but this is not a good solution
--
Ticket URL: <http://trac.wordpress.org/ticket/7716#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list