Wordpress themes

It could be this one, who knows ?

 

Child categories

children-categories.jpg If you use child categories in your posts’ organization you can now see them with padding on the left and a light arrow before each list. But note that categories imported through a widget don’t work as they should. In that case, child lists aren’t set with the correct markup and won’t be skinned correctly. To prevent this from happening you have to extract the categories’ block out of the widgets loop, as I did with the pages block (the blue one on top of your sidebar).

Corrections : you can use the standard widget for your categories, but you have to modify one line in /wp-content/plugins/widgets/widgets.php , on line 858 replace < ?php wp_list_cats("sort_column=name&optioncount=$c&hierarchical=$h"); ?> by a simple < ?php wp_list_cats(); ?> and child categories will be displayed correctly.

If you can or don’t want to edit this php file, just download it and overwrite it in your directory (/wp-content/plugins/widgets/)

Filed under : Rounded V2 blue edition
By Ghyslain
On August 13, 2006
At 7:45 pm
Comments :
 

8 Comments for this post

 
Ghyslain Says:

Absolutely, you’re right.
(Edited - someone asked me to do the same for pages)

 
 
Wendy Says:

How do I get this category indent update (I dont use widgets)?

 
 
Ghyslain Says:

Wendy, if you use my original theme, download it again and overwrite your previous files, it should work.

 
 
Nanya Says:

Hi Gyslain,

I am using your theme on my blog but I have a question. When I have very long post, the background is chopped off T__T. I wonder why this is the case and if there’s any remedy to it. Thanks!

 
 
Ghyslain Says:

Nanya, this is because of images, they have a limited height, so when posts are too long the background is chopped off. To resolve this you haven’t got many choices : editing your psd files to export longer images or write less. I’m sorry about that but as posts’ containers are liquid and have a dropshadow and rounded strokes, I’ve chosen to build them with images. For your information, actual height is about 1600px.

 
 
Claudio Says:

What have to do for view the “post counter” near the Categories?

like this:

Categories
Categories1 (10)
Categories2 (5)
Categories3 (20)
etc…

 
 
Ghyslain Says:

I don’t know but it musn’t be so hard. Try to look on the codex, all php functions are listed there.

 
 
Dexno Says:

Thanks, very nice themes

 

Leave a Reply