[wp-trac] [WordPress Trac] #7905: Nest the 'flat' formatted tag
cloud into some element
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 17 10:18:04 GMT 2008
#7905: Nest the 'flat' formatted tag cloud into some element
-------------------------+--------------------------------------------------
Reporter: hudatoriq | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version:
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
When displayed as comma separated format, the clouds don't have any parent
block element to assign some stylesheet properties to. When used in a
sidebar widget, the tag cloud is on the same level with the widget title.
{{{
<li class="widget widget_tag_cloud" id="tag_cloud">
<h2 class="widgettitle">Tag Cloud</h2>
<a href="">Tag 1</a> <a href="">Tag 2</a> <a href="">Tag 3</a>
</li>
}}}
We can't treat the tag clouds as a block, for example styling their
margin, padding etc.
When displayed as a list, we are able to do so, cause the tag list is
contained inside <ul></ul>.
Providing a parent element to the 'flat' (comma separated) tag cloud would
be the solution, for example:
{{{
<li class="widget widget_tag_cloud" id="tag_cloud">
<h2 class="widgettitle">Tag Cloud</h2>
<p><a href="">Tag 1</a> <a href="">Tag 2</a> <a href="">Tag
3</a></p>
</li>
}}}
I will come up with patches after hearing some opinions.
--
Ticket URL: <http://trac.wordpress.org/ticket/7905>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list