how to get “home >> category” on top of archive
-
I’m trying to get menus like that for the top of the page:
home >> category_nameandhome >> monthfor both my monthly and cat archives
I’m using a<?php if (!$cat) { echo etc...conditional to have it show up but I can’t get the condition for monthly archives right. I triedif ($m And !$p)but that doesn’t work. I’m not quite clear of the variables and their values at this point… 🙁
Also, how would I get the name of the month/category?the_categorywill return all the categories related to the posts that are in the single category selected. I would like it to show only the one “main” cat selected in archive.
I hope I’m making sense 😉
The topic ‘how to get “home >> category” on top of archive’ is closed to new replies.