I have the following code on my website:
<div class="blog-cats drop"> <label class="custom-select"> <select class="styledSelect1" name="archive-dropdown" onChange='document.location.href=this.options[this.selectedIndex].value;'> <option value=""><?php echo attribute_escape(__('Select Month')); ?></option> <?php wp_get_archives('type=monthly&format=option&show_post_count=1'); ?> </select> </label> </div>
Instead of display posts by archive I want to display them by categories. BUT I am trying to get it so that it only show sub categories of a particular category called 'Blog'
Does anybody have any example of how I can go about achieving this?
Thanks for your help, it's appreciated :-)