Primary Category Shortcode for Yoast
Adds a [primary_category] shortcode that shows the post's Yoast SEO primary category as a link, falling back to its first category.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Adds a [primary_category] shortcode that shows the post's Yoast SEO primary category as a link, falling back to its first category.
Adds a %%wpide_reading_time%% variable to Yoast SEO, so meta descriptions or social titles can say "5 min read".
Hides the SEO score, readability, title, meta description, keyphrase and link count columns Yoast SEO adds to post and page lists.
Takes the Yoast SEO posts overview and Wincher widgets off the WordPress dashboard.
Skips the BreadcrumbList piece of the Yoast SEO graph on the front page, where a one-item trail adds nothing.
Stops Yoast SEO from adding "Written by" and "Est. reading time" labels to link previews in Slack and similar apps.
Drops the last item (the page you are on) from the Yoast SEO breadcrumb trail, so the trail only shows the path leading to it.
Drops the SearchAction (sitelinks search box markup) from the WebSite piece of the Yoast SEO graph, useful when your site search is disabled or poor.
Stops Yoast SEO from wrapping its meta tags in "This site is optimized with the Yoast SEO plugin" HTML comments. The tags themselves stay.
Takes the Yoast SEO item out of the toolbar on the front end and in the admin for everyone.
Changes the WebPage type in the Yoast SEO graph to AboutPage, ContactPage or another type for the page slugs you choose.
Changes the og:type Yoast SEO outputs for a custom post type, for example "article" for a news or recipe post type that Yoast marks as a website.
Prints the Yoast SEO breadcrumb trail at the top of posts and pages for themes that have no breadcrumb spot of their own.
Turns off Yoast SEO's indexables, the background tables Yoast fills for every post and term, which removes heavy database writes on large sites or cheap hosting.
Stops Bricks from printing its own SEO meta and Open Graph tags, avoiding duplicate tags when Yoast, Rank Math or another SEO plugin handles them.
Removes the Yoast SEO JSON-LD graph from the pages you list, for example landing pages where you print your own structured data.
Fills an empty Yoast SEO meta description with the post's excerpt (or its opening words), trimmed to a search-friendly length.
Switches the X (Twitter) card Yoast SEO outputs from the large image card to the compact summary card with a square thumbnail.