Skip Navigation

[Resolved] Custom WordPress Archive breadcrumbs

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a WordPress Archive for a custom post type. I would like to display breadcrumb links like I'm showing on the single post template.

Solution: There's nothing built-in to Toolset that will accomplish this, but based on the markup of your single post template you can probably add something like this to your WordPress Archive:

<div class="breadcrumb" itemprop="breadcrumb" itemscope="" itemtype="https://schema.org/BreadcrumbList">You are here: <a href="https://www.gailreynolds.co.uk/"><span>Home</span></a> <span aria-label="breadcrumb separator">/</span> <span>Clients Corner</span></div>
This support ticket is created 5 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by peterD-11 5 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1210841

Hi Support

I've successfully generated a custom front-end template for a custom Post Type single post.
hidden link

Now working on the archive page for my custom Post Type.

I've generated an archive template.
hidden link

Is there a way to add a breadcrumb for a custom archive page?

#1210871

Hi, Toolset doesn't include any built-in breadcrumb links. Normally you would have to build something like this using Toolset's shortcodes and your own HTML markup. I copied the markup from your single post page and it looks like you could try adding this to your WordPress Archive:

<div class="breadcrumb" itemprop="breadcrumb" itemscope="" itemtype="<em><u>hidden link</u></em>">You are here: <a href="<em><u>hidden link</u></em>"><span>Home</span></a> <span aria-label="breadcrumb separator">/</span> <span>Clients Corner</span></div>
#1211103

My issue is resolved now. Thank you!