Search Results for 'code'
-
Search Results
-
Topic: Stars for bb-ratings plugin
<p class="soapbox">
Having hacked at the default bbPress template I’m conscious that it makes extensive use of element identities for it’s formatting.
i.e. elements have an
id="xyz"
or aname="xyz"
attribute, and in the css there is a corresponding#xyz { color: #FFF; }
.With a pluggable base model such as bbPress it makes sense to specify “how to render things like this” rather than “how to render the thing called this”.
Thus my request and suggestion is that anyone considering designing bbPress themes in the future seriously considers using CSS classes instead of IDs for formatting.
The use of classes has the same effect as id’s, but there is a key benefit: an ID can only appear once on a page, so if a page element is repeated, and it’s formatting is based on an ID, then the template breaks.
</p>
Topic: Big to Small Tag listings
Is there a way to present the Hot Tag listing in a big to small order? If there is a simple code tweak I can do, let me know. Otherwise, as someone who knows very little about coding, I would love it if someone came up with a way to do this. Does anyone else agree?