跳到内容

IndieMan Custom Hreflang

v1.0.0

indiemansoft · 2026年11月10日 上架

Override and inject custom hreflang tags, HTML lang attributes, and SEO OpenGraph/Schema locales across your entire WordPress website.

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

贡献者

截图

Main settings panel with live preview and quick language presets.
Main settings panel with live preview and quick language presets.
Yoast SEO OpenGraph, Schema, and XML Sitemap integration options.
Yoast SEO OpenGraph, Schema, and XML Sitemap integration options.

IndieMan Custom Hreflang provides a clean, reliable solution for website owners and SEO specialists who need full control over their site’s language and regional targeting (hreflang), especially when WordPress or active themes lack the specific regional locale needed (such as uk-UA, sr-Latn-RS, en-US, etc.).

Key Features:

  • Manual Hreflang Control: Specify any ISO language and country code (e.g., uk-UA, uk, en-US, pl-PL, de-DE, etc.).
  • Deep Yoast SEO Integration:
    • Overrides OpenGraph <meta property="og:locale">.
    • Updates the inLanguage property in Schema.org JSON-LD structured data (WebPage, WebSite, Article).
    • Automatically filters and overrides hreflang attributes in Yoast XML Sitemaps.
  • x-default Support: Optionally output <link rel="alternate" hreflang="x-default" ...> for default language targeting.
  • HTML Lang Override: Replaces <html lang="..."> via native language_attributes filter.
  • Core WordPress Locale Filter: Overrides get_locale() and pre_determine_locale filters.
  • Quick Presets & Live Tag Preview: Easily choose from popular regional presets and inspect generated HTML code in real time.

Plums

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

导航

说明

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

© 2026 Plums