Generating Divi Breadcrumbs from a Menu

Written by Dan Mossop

The Divi Breadcrumbs Module lets you add SEO-ready breadcrumbs to any Divi builder layout. By default, the breadcrumbs are based on the structure of the site as it is defined in WordPress (e.g. using categories, tags, parent pages, and so on). But what if you need the breadcrumbs to match the the structure of a custom menu, such as the Divi header menu or Divi menu module? For example, this one:

You can do so, using the  "Generate Breadcrumbs from" option, like so:

Set "Generate Breadcrumbs from:" to "WordPress Menu" and then select your menu from the "Select Menu:" dropdown that appears. 

The feature works by retrieving the structure of the menu, and looking for any menu item whose URL matches the current page's URL. If it finds one, it then retrieves the item's parent items from the menu and converts them into breadcrumbs. Finally these are inserted between the home breadcrumb and the current page breadcrumb using a filter provided by Divi Breadcrumbs Module, to produce the result, e.g.

Note that the final breadcrumb is taken from the page title, rather than the page's entry in the menu.

This option is available in Divi Breadcrumbs Module version 1.4.4 onwards. 

We may earn a commission when you visit links on our website.

Enhance Navigation with Divi Breadcrumbs

Improve your site's navigation and search engine optimization with the Divi Breadcrumbs Module. Easily create SEO-friendly breadcrumbs that reflect menu structures using the "Generate Breadcrumbs from" feature. Perfect for aligning breadcrumbs with custom menus like the Divi header menu for seamless user experience.

Latest Posts

Customize the Lightbox Image Background Color in the Divi Gallery

Control the color that appears behind your images when users open in the gallery lightbox, including support for semi-transparent hues. This helps improve contrast for transparent images, align the experience with your brand palette, and create a more polished viewing...

Style the Divi Gallery Lightbox Close Button

Give your gallery lightbox a clear, on-brand close button by customizing its color and size. This improves visibility and usability against varying image backgrounds and ensures the button renders at full opacity for a consistent experience. In this guide we show you...

Add a Visible Shadow to Divi Gallery Lightbox Arrows

Give the lightbox navigation arrows in your Divi galleries a stylish pop and improve their visibility by adding a shadow beneath the arrows. This quick guide will show you how to make your navigation arrows stand out against the lightbox overlay.Add a Visible Shadow...

Adjust Lightbox Arrow Size in Divi Gallery

Customize the size of the navigation arrows that appear in your gallery lightbox so they’re easier to see and aligned with your site’s design. Whether you want larger, more accessible controls or a subtler look, setting a precise arrow size creates a more polished...

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.