Skip to content

Conversation

@amirrnazemi
Copy link
Collaborator

Summary

Adds a new shortcode type term-meta for retrieving term meta values using get_term_meta().

Key Features

  • Supports id, taxonomy, key, single, before, after, fallback, format
  • Auto-detects current queried term when no ID is provided
  • Handles single and array meta values
  • Sanitized output and consistent structure with other shortcode types

Why

Enables displaying term meta (ACF, custom fields, SEO meta, WooCommerce taxonomy data) directly via AnyS shortcodes.

Example

[anys type="term-meta" id="15" key="color"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants