Meta getter block

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:

  1. Custom fields
  2. Woocommerce local attributes
  3. Woocommerce global attributes
  4. Attribute links
  5. Author meta
  6. Taxonomy
  7. Taxonomy links
  8. Site data

You can control size, color, labels, prefix, postfix

05/07/2022 – Update

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

01/03/2023 – Update

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.

Format Scenarios
Here are few common scenarios:
How Get File URL by ID and show as “Download” link

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

How to show tags or categories in Tag format

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

How to show difference time

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

How to show Mail, phone links

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

Copy this post’s content
Copy code below, and paste it (CTRL+V) in content of page
«
»