Jump to content


This topic is now archived and is closed to further replies.


Yoast Breadcrumbs - How to Remove Links

Recommended Posts




I am using the Yoast Breadcrumbs section and it is working great! Easy to use and install and I am so happy with it!


However, the client would like to remove all the links from the breadcrumbs so that it only serves as a visual navigation, not as a way to actualy click through pages of the site.


In other NAV breadcrumb plugins there are ways to still make the breadcrums appear but not be links. Do you have any idea of how this could be accomplished here?


Just to be clear, we are doing this because  some of the parent pages are empty and only exist to show the familial relationship and are currently in the breadcrumbs as dead links that go to "#". This is not going to work becuase even though they are in effect not links that go anywhere they still APPEAR to be links. The client wants it to appear as just text, not as somethign clickable or hyperlinked.


Any suggestions or thoughts would be much appreciated. Thank you in advance for  your help!


- Anna

Share this post

Link to post
Share on other sites
James B

Hi there, you'd really need to ask Yoast on this one, they might have a way to do it or a hook/filter they could provide.


I would think otherwise if the breadcrumbs have their own class you could try the below, but I'm not 100% sure that would work.


.whatever-the-class-is {
pointer-events: none;
cursor: default;

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post

Link to post
Share on other sites

  • Similar Content

    • Queue-it
      By Queue-it+
      We're using Yoast SEO plugin and it can not crawl the content that is in a Pagelines text container, only the Paglines framework content. 
      I can see that it is a problem with SEO plugins and external site builders to read the content. So is there a Pagelines SEO plugin that would solve that? 
      I know that it does not effect stats on google, but it is not possible to see the full picture of SEO status. 

    • iExpert
      By iExpert+
      I have been able to find almost all solutions from this forum until this day but now it's over I'm afraid.
      I just can't find a solution, so I really hope anybody can help me.
      I have installed Yoast SEO Plugin and want to implement Breadcrumbs just beneath my navigation bar (Ubermenu).
      The only problem is that I really don't know which php I have to insert it in to and how to make it visible.
      I have this code:
      <?php if ( function_exists('yoast_breadcrumb') ) {yoast_breadcrumb('<p id="breadcrumbs">','</p>');} ?> Furthermore I don't want it to show on the frontpage.
      My webpage: http://iekspert.dk
      Sincerely Dogan
    • Kempston
      By Kempston+
      I can't figure out how to reduce the gap between the breadcrumb section and the header in the Canvas section (see attachment). I'd like to reduce this gap across the site. The page I've used for this example is here: http://kempston.co.za/auto-transport
      The content comes from a normal Wordpress page. If there's a better way of doing what I've done, please feel free to point me in the right direction.
      Many thanks
    • Dominique Wong
      By Dominique Wong
      I am a newbie here and have downloaded Yoast WordPress SEO plugin, which suggested me inserting the following breadcrumb codes for my dms2 theme. 
      <?php if ( function_exists('yoast_breadcrumb') ) {
      yoast_breadcrumb('<p id="breadcrumbs">','</p>');
      } ?>
      Is there anyone could kindly instruct me step-by-step clearly where should I put these codes ?
      Thanks you :) 
    • nooberfantastico
      By nooberfantastico
      Yoast is not analyzing the page content generated by Pagelines. I've installed NS Automation and it needs the name of the custom fields used. Can you please provide the custom field names needed for the NS Automation plugin?