Tagged: breadcrumb, fullwidth masonry
Hi,
I have create a fullwidth masonry blog page with a nice image in a color section on top of it. When I click on a blog post I have a breadcrumb that basically says home > post title.
I would like to have home > blog page > post title
As far as I see, to do so, I need to set my blog page in the theme option “where do you want to display the Blog?”. But when I do that I loose my nice layout and only get the default grid blog layout :( (I want my masonry page with nice header image)
So my question is how can I get my blog page with my page buit template and still have a proper breadcrumb?
Thanks very much in advance for your help !
Hi,
I am very sorry to bother you … Any idea ? Thanks
Hey!
You can use the code I posted here: https://kriesi.at/support/topic/breadcrumb-and-blog-title-formatting/#post-214336
Cheers!
Peter
Hi, Thanks for your help, I used the second code and it helps for the right handside breadcrumb.
A few more help needed …
1/ In the breadcrumb section on a post page I have a “Blog a la Une” on the left hand side that links to the home page. Can I have just the post’s title here which would be more logical.
2/ Is there a way to customize the category page ? The exact same way as the blog page?
3/ Can I also customize the category url and change the word “category” into another one?
Here is a pdf screenshot so that it is easier to understand :http://goo.gl/dUVgxj
Thanks a lot for your valuable support
Hi!
1.) You can add this on functions.php to change the single post title:
add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
function fix_single_post_title($args,$id)
{
if (is_single())
{
$args['title'] = get_the_title($id);
$args['link'] = get_permalink($id);
}
return $args;
}
2.) No, I don’t think this is possible without major modification. Please hire a freelance developer to help you.
3.) Maybe this plugin will help: http://wordpress.org/plugins/wp-no-category-base/
Cheers!
Ismael