-
AuthorPosts
-
March 24, 2016 at 9:18 pm #603420
Hi Guys,
If you visit this link for the first time (or in private browser window), you can see the breadcrumbs show all the assigned categories of a portfolio item. This incorrect breadcrumb is also being indexed by google. This actually happens to all portfolio items assigned to more than 1 category. Here’s the link: http://www.novi-marine.com/boot/gemini-1060-rib/. Some screens below to clarify.
Indexation by google
What you see when you visit for the first time:
Categories assigned:
March 25, 2016 at 10:33 pm #603741Hey lucasvrooij!
If that is incorrect – what should it display?
It is based on the categories you assign, do you want to remove any of those from the breadcrumb?Please do explain a bit more, what exactly you need to do
Cheers!
BasilisMarch 29, 2016 at 1:38 pm #604516Hi Basilis,
Thanks for your reply.
Since this is confusing for visitors and search engines, i think it would be best to just have home >> name of portfolio item. So in this case it would be: Home >> Gemini 1060 RIB.
If possible Home >> Boten >> Gemini 1060 RIB. would also be nice but i image it’s probably much easier to remove all categories from the breadcrumb.
Kind regards!
March 30, 2016 at 6:33 am #604972Hey!
Did you add this code in the functions.php file?
add_action('after_setup_theme','avia_remove_portfolio_breadcrumb'); function avia_remove_portfolio_breadcrumb(){ remove_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb'); }
Please remove it. And make sure to update the theme to the latest version, 3.5.1.
Regards,
IsmaelApril 9, 2016 at 3:24 pm #610614Hi Ismael,
Thanks for you response,
I’ve uploaded the latest theme file with original funcions.php (so code you referred to is removed), but the problem remains. You can see if you visit http://b-dev.nl/nm/boot/gemini-730-inboard-diesel-rib/ in a private browser window.
Kind regards.
April 12, 2016 at 6:23 am #611663Hi!
The breadcrumb is under the slider. How did you do that? The theme doesn’t have that option by default. Please post the login details here so that we can inspect the settings.
Best regards,
IsmaelApril 14, 2016 at 11:48 am #613712Hi Ismael,
It’s a combination of some php modifications i found on this support forum and my own css customizations (so no 3rd party plugin or something). If it’s useful to you i can share how i did this. See below for login.
Kind regards!
April 17, 2016 at 7:31 am #615717Hey!
Looks like you set it as shortcode but we can’t see the shortcode function in the theme. Where did you put it?
Best regards,
IsmaelApril 20, 2016 at 11:55 am #618213Hi Ismael,
i added the shortcode manually in the pages. So on each page i added a codeblock with this code: <div class=”sbread”>[bread_crumb]</div>
Kind regards.
April 23, 2016 at 4:00 pm #620557Hi!
I mean the add_shortcode function in the functions.php file. We can’t find it anywhere. Did you remove it?
Best regards,
IsmaelApril 30, 2016 at 9:13 pm #625131Hi Ismael,
Sorry for the late reply, I didn’t remember how I put these breadcrumbs together.
I added the ‘add_shortcode( ‘bread_crumb’, ‘avia_title’ );’ in functions-enfold.php
Kind regards!
May 6, 2016 at 4:31 am #628061Hi,
It will get overwritten once you update the theme. Please create a child theme then add the code back in the functions.php file, not functions-enfold.php file. http://kriesi.at/documentation/enfold/using-a-child-theme/
Best regards,
IsmaelDecember 6, 2017 at 4:11 pm #885629Hi Guys,
It’s been a while. Kind of got into other projects but the problem still exists. Strangely, the problem doesn’t always appear. Sometimes it occurs on desktop, but it always occurs on mobile, i’ve inserted a screenshot below.
Following up on your last post, i’ve taken the code out of functions-enfold.php and inserted it in functions.php. Unfortunately, it does not solve the problem.
Hoping to hear from you guys!
Best,
Lucas<script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>
December 6, 2017 at 4:18 pm #885635Sorry, in addition, this is the url i posted the screenshot from: https://www.novi-marine.com/boot/gemini-waverider-wr-880-rib/
December 6, 2017 at 4:37 pm #885653Hello There,
Managed to solve this by using the yoast breadcrumbs as a workaround:)Best,
LucasDecember 7, 2017 at 5:59 am #885928 -
AuthorPosts
- The topic ‘Breadcrumbs showing all assigned categories for portfolio item’ is closed to new replies.