Hi I’d like the header for the single post pages to not have the breadcrumb. I thought the easy answer would be to create a new template with with the title (breadcrumb turned off) and post content. However when I do this, the date of the post doesn’t display the way it did when it was using the global template. So if you could either tell me how to make posts display their dates on a new template or show me how to remove the breadcrumbs on the global template, I would very much appreciate it.
Open functions-choices.php and find this code
if(!is_front_page() && $breadcrumb) $additions .= avia_breadcrumbs();
Replace it with this
if(!is_front_page() && $breadcrumb && !is_single()) $additions .= avia_breadcrumbs();
Single posts will not have the breadcrumbs.
The topic ‘remove breadcrumb from global template OR add post date to a template.’ is closed to new replies.