-
AuthorPosts
-
August 5, 2017 at 8:31 pm #834870
Hello to you,
I have an issue regarding the breadcrumbs. The breadcrumbs are always showing BLOG, for example:
Category blog post shows: Home / Blog / Blog / Critical/ Politics
but should show: Home / Blog / Critical / PoliticsCategory recipes post shows: Home / Blog / Recipes / Cakes / Lemon Cake
but should show: Home / Recipes / Cakes / Lemon CakeCategory lifestyle post shows: Home / Blog / Lifestyle / Bodycare / Shampoo
but should show: Home / Lifestyle / Bodycare / ShampooCan you help and tell, why it is always showing “Blog”? Also, for example, when chosing menu item “Recipes” of the main menu and select a post, it automatically jumps back to menu item “Blog”.
My site is still in maintenance mode, thus please kindly find login details for my testdomain and some more info in private content box.
Thanks for all your help in advance.
Cheers
SophieAugust 10, 2017 at 3:20 pm #837010Hey Sophie,
Thank you for using our theme. Sorry for the late reply due to summer holidays.
This is a standard behaviour of Enfold’s breadcrumb logic, which tries to reflect the hierarchical logic in WP taxonomies.
A post is part of the blog and therefore reachable via the selected “blog” page in Enfold theme settings. The rest of the breadcrumb is built from the categories, which may also be hierarchical.
This has nothing to do with the permalink structure.
Hope, I could help you with this information.
Best regards,
GünterAugust 10, 2017 at 3:58 pm #837031Hi Günter,
thank you for your kind reply. But why does it show “blog” twice, e.g.: Home / Blog / Blog / Critical/ Politics? Also, on category recipes page and category lifestyle page via masonry element I have not selected blog, only recipes resp. lifestyle. This way this is not usable for me, because I have so many subcategories that need to be parted into parent categories blog, recipes and lifestyle.
Here was someone who had the same issue, I guess: https://kriesi.at/support/topic/duplicate-terms-titles-in-the-breadcrumb-for-newsblog-posts/ but I don’t know how to solve in my case.
How can I change Enfold’s breadcrumb logic? And how to avoid always jumping back to “blog” when for example menu item “recipes” was chosen? Your help is really appreciated.
Best regards
SophieAugust 11, 2017 at 12:18 pm #837409Hi Sophie,
I am seeing blog only once in breadcrumbs, could you please point us to the pages where you have the issue?
Best regards,
VictoriaAugust 14, 2017 at 3:02 pm #838678This reply has been marked as private.August 15, 2017 at 3:14 pm #839332Hi Sophie,
I think you are getting “Blog” because those are posts and so for WordPress they are in the “blog” section, and then in the categories.
http://www.wpbeginner.com/plugins/how-to-display-breadcrumb-navigation-links-in-wordpress/Did you try the solution here
https://kriesi.at/support/topic/breadcrumbs-for-home-category-postname/#post-214998Best regards,
VictoriaAugust 16, 2017 at 8:54 pm #840079Hi Victoria,
thanks a lot for your fast reply :-) .
I played around a little and I guess I found the solution regarding displaying BLOG twice: It’s because I have a category named BLOG and when renaming it to e.g. NEWS, then the breadcrumbs are showing HOME / BLOG / NEWS / POSTNAME instead of HOME / BLOG / BLOG / POSTNAME.
Regardless, the code in your link provided is not working for me to remove BLOG in the breadcrumbs in general.
And although I tried the other suggested possible solution as per in your link provided (https://kriesi.at/support/topic/breadcrumbs-for-home-category-postname/#post-214578) and deselecting the blog page in Enfold > Theme settings, the BLOG in breadcrumbs is disabled and it also disables the “jumping” from categories RECIPES and LIFESTYLE to BLOG in the main menu, but now the postname is showing twice instead, for example:
> HOME / POSTNAME / NEWS / CATEGORY / POSTNAME
> HOME / POSTNAME / RECIPES / SUBCATEGORY / POSTNAME
etc.If I could remove the first POSTNAME after HOME in the breadcrumbs, it would be perfect :-) . Can you please help? Would be great!
Cheers
SophieAugust 19, 2017 at 5:41 pm #841327Hi Sophie,
That’s great progress, Sophie! Do you still have code from the threads in your functions.php? I don’t see the Editor menu item in the Appearance menu and so I cannot check myself. That’s weird, the postname does not not normally show up there.
Best regards,
VictoriaAugust 22, 2017 at 5:57 pm #842671Hi Victoria,
I already removed the code from the threads in my functions.php. Would be awesome, if you could help me removing the first POSTNAME after HOME in the breadcrumbs. Thanks for all your efforts in advance.
Have a great day!
Best regards
SophieAugust 25, 2017 at 11:05 am #843855Hi Sophie,
Could you please switch to Enfold parent theme and see if the issue is still there, and then switch to a default theme and test like that?
Best regards,
VictoriaAugust 25, 2017 at 1:13 pm #843934Hi Victoria,
when I switch to Enfold parent theme, then it does not display the double post name anymore, but it shows > HOME / SUBCATEGORY / POSTNAME instead. But I need to show > HOME / CATEGORY / SUBCATEGORY / POSTNAME.
Hope this info helps.
Kind regards and have a great day!
Sophie- This reply was modified 7 years, 3 months ago by Sophie.
August 30, 2017 at 5:39 am #845576Hi,
Do you have any other breadcrumb filter in the functions.php file? I would like to check it but the Appearance > Editor panel is missing. One of the parent and sub category of the post should be included in the breadcrumbs by default without any of those modifications but there should be no duplicate post name.
Best regards,
IsmaelSeptember 1, 2017 at 10:59 am #846795Hi Imsael,
no, I dot not have any other breadcrumb filter in functions.php and also no plugin or anything else.
Kind regards
SophieSeptember 4, 2017 at 7:19 am #847538Hi,
Please enable the Appearance > Editor panel or post the FTP details here.
Best regards,
IsmaelSeptember 4, 2017 at 5:21 pm #847834Hi Ismael,
please kindly find the WP and FTP details in private content. Thank you for all your efforts in advance.
Kind regards
SophieSeptember 7, 2017 at 3:38 am #848919Hi,
Thank you for the update. However, the FTP login credentials are not working. Please check it carefully and provide the FTP url as well.
Best regards,
IsmaelSeptember 7, 2017 at 5:56 am #848951Hi Ismael,
strange :-( . I created new FTP credentials, please find them in private content box. Hope it woks now. Thank you for your help in advance.
Kind regards
SophieSeptember 8, 2017 at 8:24 am #849466Hi,
We set the “Blog” page as blog and then added the following filter to remove the “Blog” link from the breadcrumb.
add_filter( 'avia_breadcrumbs_trail', 'avia_breadcrumbs_trail_mod', 50, 2 ); function avia_breadcrumbs_trail_mod( $trail, $args ) { if ( is_single() ) { unset($trail[1]); } return $trail; }
Best regards,
IsmaelSeptember 8, 2017 at 12:08 pm #849546Hi Ismael,
that is awesome! I thank you so much for helping me with this issue! I think you can close this topic now ;-) !
Have a great day!
Kind regards
SophieSeptember 9, 2017 at 5:29 am #849836 -
AuthorPosts
- The topic ‘In breadcrumbs always showing "Blog"’ is closed to new replies.