Tagged: Blog, breadcrumbs
Hi there,
I’ve been searching this forum for a while but I can’t seem to find the solution for my problem.
On my single blog posts, the breadcrumbs are like ‘home/category/post title’. Since I’m not using any categories, I want the breadcrumbs to show the page I use as the blog overview page. So I need something like ‘home/page/post title’.
Thanks in advance,
Stefan
Hi Alcadis!
Use a category with the same name as the blog page, then redirect the category page to the blog page with a plugin like this: http://wordpress.org/plugins/simple-301-redirects/
Regards,
Josue
Thanks, this solved my problem on the single blog page.
But here’s something else..
The default archive widget that I’m using is generating these breadcrumbs: ‘home/automatic concepts/2013/november’, where the ‘automatic concepts’ part is giving me a 404. How do I get rid of the ‘automatic concepts’ in these breadcrumbs?
EDIT: Even better, how do I change this part so it links to my blog overview page? I know I can use the 301 redirect now, but I would still need to change the text of the link.
Hi!
We need to know how the breadcrumb trail look like. Insert following code into the theme functions.php file
if(!function_exists('avia_modify_event_breadcrumb'))
{
function avia_modify_event_breadcrumb($trail)
{
print_r($trail);
return $trail;
}
add_filter('avia_breadcrumbs_trail','avia_modify_event_breadcrumb');
}
and Enfold should output some new text/code at the very top of the page (“automatic concepts” archive page). Please copy it and post it here.
Cheers!
Peter
I had to update the theme due to some other issues. Seems the archive widget is no longer creating the “automatic concepts” part in the breadcrumbs. Now, its just ‘home/2013/november’
So for now, problem fixed.