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_name
andhome >> month
for 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_category
will 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 ??
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to get “home >> category” on top of archive’ is closed to new replies.