Just one more thing,
I have another dropdown with the following code:
<?php wp_dropdown_categories(‘show_option_none=Select a Category&show_count=1’); ?>
<script type=”text/javascript”><!–
var dropdown = document.getElementById(“cat”);
function onCatChange() {
if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
location.href = “<?php echo get_option(‘home’);
?>/?cat=”+dropdown.options[dropdown.selectedIndex].value;
}
}
dropdown.onchange = onCatChange;
–></script>
it displays categories with posts within it, is there some way i can manipulate that to show all the categories even if they don’t have a post within it?
Thanks for this, you are saving me a lot of headache!