Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #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
    Indexation by google

    What you see when you visit for the first time:

    Categories assigned:

    #603741

    Hey 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!
    Basilis

    #604516

    Hi 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!

    #604972

    Hey!

    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,
    Ismael

    #610614

    Hi 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.

    #611663

    Hi!

    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,
    Ismael

    #613712

    Hi 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!

    #615717

    Hey!

    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,
    Ismael

    #618213

    Hi 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.

    #620557

    Hi!

    I mean the add_shortcode function in the functions.php file. We can’t find it anywhere. Did you remove it?

    Best regards,
    Ismael

    #625131

    Hi 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!

    #628061

    Hi,

    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,
    Ismael

    #885629

    Hi 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

    View post on imgur.com

    <script async src=”//s.imgur.com/min/embed.js” charset=”utf-8″></script>

    #885635

    Sorry, in addition, this is the url i posted the screenshot from: https://www.novi-marine.com/boot/gemini-waverider-wr-880-rib/

    #885653

    Hello There,
    Managed to solve this by using the yoast breadcrumbs as a workaround:)

    Best,
    Lucas

    #885928

    Hi,

    Alright. Glad that you found a workaround. Please feel free to open a new thread if you need anything else.

    Best regards,
    Ismael

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Breadcrumbs showing all assigned categories for portfolio item’ is closed to new replies.