This block is all in one solution to extend the functionality of query loop blocks. Also, you can use it to build custom single pages in directory style.
Meta getter block can retrieve values from next data stored in items:
- Custom fields
- Woocommerce local attributes
- Woocommerce global attributes
- Attribute links
- Author meta
- Taxonomy
- Taxonomy links
- Site data
You can control size, color, labels, prefix, postfix
Added option to get values from ACF plugin’s special fields (checkboxes, multi selects, repeatable fields, file, embeds, radiobuttons, date fields, etc)
Common scenarios where you can use this block – featured attribute area inside posts or products where you highlight some specific attributes
Block supports query loop block and can be used to build custom queries
Meta getter also can get values from arrays which are stored in fields. This means that you can use it to get values from ACF plugin fields and from any other plugins which store data in custom fields or taxonomies (JetEngine, PODS, MetaFields, CPT UI, etc)
Formatters
Added Post formatting options: conversion for date values, making value as post link, mail formatting, conversion of array-like values (ACF multi-choice) to lists, WISIWYG formatting, etc
There are few possible scenarios when you may need to use special Data format feature in Meta getter.
You may have stored File ID in data and you want to convert it to File download link.
Enable Data Format File ID to URL
Enable Taxonomy Terms option. By default, it will show you comma separated list but you can convert this to tags. In Data format select Comma Separator to Tags or Lists. You will find also extra options. You can enable Flexbox for tags and set column gap. You will find also design options, where you can style tags. And you will find also option to show only first tag
You can use Meta getter to show publish date or date of editing if you select Post Data – Published date. But it’s more practical to show difference with current date so users can see how much time past from date
Select Mail or Phone data format. Highly likely you don’t want to show phone or mail directly, but you will use label like “Phone me” or “Mail Me”. By default, label will be the email, but you can change this in Label – Label replacement for value