Skip to content

meta accessor

Polmonite edited this page Sep 21, 2019 · 1 revision

MetaAccessor

The meta accessor retrieve post meta related to the post.

Syntax:

@meta:{meta_key},{default},{single}

  • {meta_key}: the wanted post meta key;
  • {default}: default value, if no post meta is found;
  • {single}: specify if the save value is single or a list of values; if nothing is specified, it will try to guess it.

Examples:

Other

Extend Malini

  • Create your own Accessor
  • Create your own Decorator
  • Available Extensions
    • Malini\Aeria
    • Malini\YOAST
    • Malini\ACF
Clone this wiki locally