Skip to content

v1.0.0

Choose a tag to compare

@guisfus guisfus released this 29 Apr 18:21
· 6 commits to main since this release

Features

  • Outputs a <meta name="description"> tag for singular WordPress content.
  • Uses the guisfus_meta_description custom field as the primary source.
  • Supports the legacy meta_description custom field as fallback.
  • Falls back to the manual excerpt when no custom field is set.
  • Falls back to trimmed post content when no excerpt exists.
  • Sanitizes and escapes all output.
  • Registers the custom meta field for REST API compatibility.
  • Limits descriptions to 160 characters by default.
  • Avoids duplicate output when common SEO plugins are detected.
  • Includes developer filters to customize or disable behavior.

Requirements

  • WordPress 6.0 or higher.
  • PHP 7.4 or higher.