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

    Hi,

    Long term developer here, but new(ish) to the wordpress bandwagon and Enfold is the first theme I have purchased and decided to tryout.

    Theme: Enfold
    Issue: Breadcrumbs not reflecting hierarchical structure of menus

    Process flow:
    1. Setup MySQL DB and fresh download and install of WP
    2. Installed Enfold
    3. Created child theme
    4. Import Dummy Content: Posts, Pages, Categories
    5. Import Settings from your Parent Theme
    6. Created new main menu and set as default main menu
    7. Created portfolio item
    8. Added it to new menu “work history > 1999 > item position”
    9. Preview showed breadcrumb as “home / portfolio / 2 column theme”
    10. I deleted old menu assuming this data and structure would be lost, result was no change
    11. I deleted all posts, pages, comments, portfolio items, result was no change however some portfolio items which were deleted still showed up in menu editor?
    12. Tried dragging portfolio item around the whole menu structure, saved and previewed to no change
    13. All browsers closed, Cleared cache, cookies, local data, wamp temp, cc cleaner run and previewed and it worked!
    14. Made another portfolio item, placed it at the root of the menu, saved and checked and the breadcrumb was “home / / test 2”
    15. Moved test 2 to “work history > 1999”, saved and previewed and breadcrumb result was the same “home / / test 2”
    16. Done step 13 again, however this time it didn’t fix the problem

    Portfolio items that remain after deletion were:
    Single Portfolio: 2/3 Slider
    Single Portfolio: 2/3 Gallery
    Single Portfolio: Big Slider
    Single Portfolio: Fullscreen

    Do you have a fix for this? I simply need all pages, blogs, portfolio items etc to reflect it’s hierarchical location based on the menu it’s in.

    As I am new to wordpress I don’t want to jump in, delete any and all breadcrumb code I find in the theme and replace it with standard php mysql coding for a recursive query to fetch breadcrumb location on each page load (assuming menu id, menu parent id are stored correctly in the db relating to pages, portfolio items etc). Shouldn’t this be saved in the menu editor to save load and increase performance?

    I don’t really want to do a quick and dirty fix of delete the breadcrumb code altogether and live without it or to manually put it in.

    If you got a fix for this or can point me in the right direction, or tell me something I’ve not noticed (magical tick box somewhere I’ve missed) that would be awesome.

    Any and help is appreciated.

    Thanks

    Darcey

    #205235

    Additional
    I just started again clean (this time no import of data or demo theme settings) and created a page instead of a portfolio page and the breadcrumb links still don’t reflect the navigational structure. That was until I created blank pages with the same title as the structure below and set parents for the pages to match the menu structure (doubling up). Portfolio items doesn’t have this ability so I wouldn’t be able to fix that using this method (also do note doing this creates page links to blank pages in widgets area recent pages etc).

    Menu editor is as follows:
    | Work history (dir)
    | – – – 1999 (dir)
    | – – – – – Test page 1 (page)
    | – – – – – Sample page (page)

    Darcey

    • This reply was modified 11 years, 4 months ago by Starglider. Reason: added a little bit of info
    #205282

    Hi!

    WordPress hierarchy is completely disconnected from whatever you set in the menus. The breadcrumbs will reflect the page hierarchy only.

    Portfolio items respect their hierarchy but with that custom post type the portfolio items don’t have parent>child relationships.

    Regards,
    Devin

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Portfolio entry breadcrumb doesn't reflect location in menu’ is closed to new replies.