Best WordPress Hosting
 

Yoast SEO snippets to customize your site

via yoast.com => original post link

Yoast SEO automatically handles all sorts of things for your site. Features like meta tags, schema, sitemaps, and content analysis help you rank higher in organic search results. However, you may have a custom or specific use case that requires adjusting how our plugin works for your site. Yoast SEO includes filters that allow you or your developer to customize many of the features in our plugin. Let’s dive into some of the popular Yoast SEO snippets and real-world examples of times you may need to use these snippets.

Modify breadcrumb output

A popular front-end output is the breadcrumb trail that themes can use at the top of content items, like posts and pages. Yoast SEO includes common path options, but customization can benefit some content types. The code snippet below adds a custom link between the Home and Post Name that appears by default. Thus, Home » Hello world! becomes Home » Blog » Hello world!. You can find more examples here.