Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #210332

    Hello,
    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?
    Thank You!

    #211208

    Hey fab!

    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 http://www.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.

    Cheers!
    Peter

    #214239

    That worked.
    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Breadcrumb problem’ is closed to new replies.