Breadcrumbs using Title not Slug

Posted in: Newspaper
Post count: 37

Hi, within wordpress it’s possible to set a ‘slug’ for the page to appear in menus. However the Tagdiv breadcrumbs aren’t using the slug, they’re calling the post title.

This WordPress feature is useful when you create a title that doesn’t correspond with what people look for in a menu, e.g. I have given my About Us page the long title of ‘Welcome to Nature Holds the Key!’ but in menus I have given it the slug ‘About’. So ‘About’ is what appears in the menus, but it doesn’t appear in the breadcrumbs.

Is there a simple piece of code that I could use to call the slug?

Post count: 22421

Hello,

Unfortunately the breadcrumbs work with titles, not slugs. If you want to change this behavior, you will have to edit this function (it will require coding knowledge):
http://screencast.com/t/mibjhTXzd8SF

Thank you!

Post count: 37

Hi, Bogdan, thanks for this, I’ll take a look.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.