Support » Plugin: Yoast SEO » Breadcrumbs: prefix for Author Archive

  • Resolved Paul Shryock


    I’m using Yoast SEO breadcrumbs on my website. From the WP Dashboard, in SEO > Advanced > Breadcrumbs, I have set the prefix for archive breadcrumbs. And that works well.

    It says “Articles About” and then it shows the category or tag. However, on Author Archive pages, I would like to show a different prefix. It would say “Articles By”, followed by the author name.

    Is there a way to set different prefixes for archive breadcrumbs and author breadcrumbs?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • In your theme’s functions.php or a plugin, you should be able to add the following:

    add_filter('wpseo_breadcrumb_links', 'articles_by_breadcrumbs');
    function articles_by_breadcrumbs($links) {
         if(is_author) {
              $links[1][text] = str_replace('Articles About', 'Articles By', $links[1][text]);
              return $links;

    If you ever change the archive breadcrumbs prefix in the plugin, you would also need to update this function so that ‘Articles About’ matches whatever you change the default archive breadcrumbs prefix to be.

    Thanks @wpgirl369!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Breadcrumbs: prefix for Author Archive’ is closed to new replies.