murky
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Category List ManipulationI’ve got it going, though I have yet to style it. It’s hidden under an ‘if this function is available’ thing at the moment with the plugin disabled until I get a chance to style nicely.
Cheers,
Forum: Themes and Templates
In reply to: Category List ManipulationI’m glad it’s not just me… I’m hoping that someone with the skills to do something about it also likes it!
Of course, the list would have appropriate classes built into each list item, things like ‘thiscat’, ‘sibling’, ‘parent’, ‘child’ and so forth!
The ‘Fold Category’ thing looks pretty close. I’ll have to explore it.
Forum: Themes and Templates
In reply to: Category List ManipulationI have a solution, it’s not quite what I want – I’d have liked to be able to put it into the appropriate place of the parent category list. It relies on the breadcrumbs plugin for the parents.
<?php if (is_category()) { ?>
<li class="related">
<h2>Related Categories</h2><ul>
<?php if (function_exists('breadcrumb')) {
breadcrumb('home_never=1&before=<li>&after=</li>&sep=');
} ?><?php
$query='child_of=' . $cat;
wp_list_cats($query);?>
</ul>
</li>
<?php } ?>I also have the following style declared:
li.related ul.children {display: none;}To see it in action, look here and click around ‘related links’.
Ideally, I’d like to do it entirely with native wp commands (i.e. not reliant on plugin). However, until then….
Semantically, the parent categories should be nested lists, but I couldn’t see how to make that work at all!
Forum: Installing WordPress
In reply to: category ID on archive pageSorry…. typed search into wrong box