Support » Themes and Templates » breadcrumbs for tags?

  • hey guys, i’m using the following code to have breadcrumbs on my website. however i wonder how i can view a breadcrumb for a tag as well. now it only is shown for single-pages and categories but not for tags.

    if (!is_home()) {
    		echo " » ";
    		if (is_category() || is_single()) {
    			the_category('title_li=');
    			if (is_single()) {
    				echo " » ";
    				the_title();
    			}
    		} elseif (is_page()) {
    			echo the_title();
    		}
    	}

    thank you for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘breadcrumbs for tags?’ is closed to new replies.