Paginations in Category Page Leads to Sample Pages

You should delete this part (as Pieter wrote): $the_query = array( ‘paged’ => $paged, ‘cat’ => $cat, ‘posts_per_page’ => 20, ); $arrgs = new WP_Query( $the_query ); $temp_query = $wp_query; $wp_query = NULL; $wp_query = $arrgs; I’m supposing that you want to show 20 posts per page, you could either configure that in Settings->Reading panel … Read more

Add category links?

i tried placing the above code under my _index.php file.. which is showing fine with a little css i can make it how i want it to be like. but i cant seem to have the categories show up on the other subcategory pages like music, products or thoughts. If you managed to get it … Read more

Show parent category if there is no subcategory

Your question is not that clear, I suggest you to improve your question. You can try adding array parameter hide_empty to false in this case “0” so that it shows all the category even the one with no post. $thisCat = get_categories(array(‘child_of’=>$_GET[‘cat’], ‘hide_empty’=>0)); You can also refer the WordPress get_categories Codex Hope this helps!

Custom filters inside a specific category?

I think these should be separate taxonomies. Category is actually a taxonomy in its own right. You would create a taxonomy for each of the filters/drop-downs. This may seem like overkill but i think it will make it easier to work on additional features down the road. Add the following method to your functions.php. Replace … Read more