跳到内容

STS SEO

v0.4.0

spearstechsolutions · 2026年11月6日 上架

Focused titles, descriptions, social metadata and business structured data that complement WordPress core instead of replacing it.

正在使用
10 以下
评分
暂无
累计下载
427
最近更新
2026年11月7日
需要 WordPress 6.6+已测试到 7.1.5PHP 7.4+

截图

The STS SEO box in the post editor: SEO title, search description with character-count guidance, and social image.
The STS SEO box in the post editor: SEO title, search description with character-count guidance, and social image.
Settings > STS SEO: the site-wide default social image and the start of the business structured data settings.
Settings > STS SEO: the site-wide default social image and the start of the business structured data settings.
Business structured data settings with example LocalBusiness details, including business name, URL, telephone, and address.
Business structured data settings with example LocalBusiness details, including business name, URL, telephone, and address.

STS SEO adds the search and sharing details WordPress does not provide on its own, and leaves everything else to WordPress.

What it adds

  • An optional SEO title for each post and page. WordPress still prints the one <title> element; STS SEO only supplies its text.
  • An optional search description. When it is empty, the manual excerpt or a short summary of the content is used.
  • Open Graph and Twitter Card tags, with one social image chosen from the post’s own selection, its featured image or a site-wide default.
  • A canonical link for the posts page (WordPress already handles single posts and pages).
  • One optional Organization, LocalBusiness or Restaurant entity in JSON-LD, built only from what you enter in Settings STS SEO.

What it leaves to WordPress

The title element, robots directives, canonical links on single content, XML sitemaps, feeds and search-engine visibility. STS SEO never changes the “Discourage search engines” setting.

Works alongside other plugins

  • When a full SEO plugin is active (Yoast SEO, Rank Math, All in One SEO, SEOPress, The SEO Framework or Slim SEO), STS SEO turns all of its front-end output off. Your STS SEO fields are kept.
  • With Jetpack, ownership is decided feature by feature. STS SEO provides the social tags on posts, pages and the posts page and turns Jetpack’s Open Graph tags off there, using Jetpack’s own filter. With Jetpack’s SEO Tools module active, titles and descriptions are left to Jetpack.

Privacy

STS SEO makes no external requests, loads nothing from other servers, sets no cookies and collects no data. It adds no JavaScript or CSS to the public site. Its fields are not exposed through the public REST API.

Developer hooks

All filters are optional.

  • sts_seo_enabled (bool) – return false to turn off all front-end output.
  • sts_seo_conflicts (string[]) – names of active full SEO plugins; any name turns all output off.
  • sts_seo_feature_owner (string $owner, string $feature) – return a plugin name to leave one feature (title, description, social, posts_canonical, schema) to that plugin.
  • sts_seo_jetpack_social (bool) – return false to keep Jetpack’s social tags.
  • sts_seo_title (string $title, int $post_id) – the title override for a public post or page.
  • sts_seo_description (string $description, int $post_id) – the description for a public post or page.
  • sts_seo_social_image_id (int $attachment_id, int $post_id) – the chosen social image; invalid IDs give no image.
  • sts_seo_posts_canonical_enabled (bool) – return false to skip the posts-page canonical link.
  • sts_seo_schema_enabled (bool) – return false to skip the JSON-LD entity.
  • sts_seo_schema_entity (array $data, array $settings) – the complete entity; return a non-array to skip it.

Values returned by the title and description filters are normalized to plain text again before output.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums