I must be missing something, but I Encounter the following Problem:
When I go to “http://www.sfccars.com/inventory/” and select “1966 Triumph TR4-A” the breadcrumbs show correctly “You are here:Home /Inventory /1966 Triumph TR4-A”
But when I go to “http://www.sfccars.com/sold-cars/” and select ” 1966 Triumph TR4-A” from the “latest Addition widget” the breadcrumbs show “You are here:Home /Sold Cars /1966 Triumph TR4-A”
How can I get rid of the “Sold Cars” in the Breadcrumb?
WordPress doesn’t know which “portfolio page” is the parent page of a “single portfolio entry” because the portfolio grid is actually just a shortcode which is embedded into the content of a page. Kriesi found a workaround and Enfold stores the id of the parent portfolio/grid page into a session.
I.e. if the user first views this portfolio grid page ( http://www.sfccars.com/sold-cars/ ) the server will save the page id into the session and as soon as the user views the single portfolio entry (i.e. http://www.sfccars.com/portfolio-item/1966-triumph-tr4-a/ ) Enfold uses the session data and the saved page id to build the breadcrumb. If the user accesses the portfolio entry from another portfolio page: http://www.sfccars.com/inventory/ it will save another page id and the breadcrumb links will be different.
If you don’t want to show the portfolio grid page in the breadcrumb but just the portfolio categories of the current entry you can use the code I posted here https://kriesi.at/support/topic/breadcrumbs-with-portfolio/ – by going this way the breadcrumbs will always have the same structure but you can’t show the portfolio grid pages in the breadcrumb.
The topic ‘Breadcrumb problem’ is closed to new replies.