You can use many dynamic data inside different blocks. All dynamic fields support retrieving data from current item (so, you can build custom Single and Archive templates) and also data retrieval from definite items. For example, you can get image from other post.
There are two basic types of dynamic fields: Hybrid dynamic and Full dynamic types.
2.0 version has update to retrieve also array values. You can get values from multidimensional fields
6.5 version All in One plan has now included the ACPT plugin for making custom metas. Please, note that the keys of fields work differently in ACPT, you must include the field group in the key. For example, you made Group with the key “test” and placed the Text field with the key “text”. In Dynamic fields of Greenshift, you must use test_text for the key to retrieve the text field value
Hybrid dynamic fields
Hybrid dynamic fields are injected into blocks as options. Such blocks continue to be regular editable blocks but you can replace part of content with dynamic data. For example, you can set part of text to be dynamic or replace background image with dynamic URL, etc
Here is list of supported blocks and data in hybrid dynamic blocks
Advanced Text and Advanced Heading block
You can add dynamic part to these blocks and combine them with static area. Supported dynamic data
- Custom fields
- Taxonomy values (for example you can show post categories or custom taxonomy)
- Post data (title, excerpt, date, comment count)
- Author data, User data (name, registration date, description, User Meta)
- Taxonomy Archive data
- Site data (Site name, site description, current year, current month, database options, transients)
- Post taxonomy (Taxonomy Meta fields, taxonomy name, taxonomy description)
- Repeater data (get data from connected relationships, arrays, json)
Dynamic Background Option
Almost All blocks have Background panel. Now, you can attach dynamic image as block background.
This supports next formats
- Featured post image
- Custom field images (URLs or image ids)
- Taxonomy Metas (so you can use it for Taxonomy Templates)
VideoBlock
You can save video URL in your custom field and then, use this value for videoblock URL.
Tip. Also, in some scenarios, for example, when you need to retrieve self hosted video URLs, it’s better to use Video Tag block and add dynamic option on “src” attribute in dynamic attributes
Button Block
Supported types:
- Post permalink (so, you can insert dynamic link of current or definite post)
- Custom field value
- Repeater data
You can also use placeholders in dynamic labels. Use {DYNAMIC} and this will replace part of label instead whole label
Container Links
Container block has dynamic option to use it as linkable element which is retrieved from post link or custom field value
Dynamic Progress Bar
For Progress bar block and circle bar, you can enable dynamic fields and retrieve values from custom fields.
Dynamic Counter
For Counter block, you can enable dynamic fields and retrieve values from custom fields.
Dynamic Countdown
For CountDown Block, you can enable dynamic fields and retrieve values from custom fields.
Dynamic 3d
You can enable dynamic fields for 3d viewer block and for Spline3d block
Dynamic Attributes
Our special Element block has option to use Dynamic attributes. Now you are not limited to existed fields, you can attach data to any attribute of block, even that are not existed in block options.
Full Dynamic Blocks
Full dynamic blocks have dynamically rendered content on server. These blocks use current context to be used inside Query Loop Builder (but you are not limited).
Meta getter
This is a universal block to get different post data. Supported types
- Custom fields
- Taxonomy values and meta (for example you can show post categories or custom taxonomy)
- Post data (title, excerpt, date, comment count)
- Author data and User data (name, registration date, description, User Meta)
- Woocommerce data (attributes, attribute links, swatches)
- ACF-specific, Metabox, ACPT, Jetengine fields (image, multi-choice fields, repeater fields, and all others)
- File field (will convert ID of attachment to URL automatically)
- Site data (options, transients, etc)
Meta getter also has post-processing which allows you to use specific data in your fields:
- Email field (will be converted to mailto: links)
- Date types and other formats converter to WordPress human readable date
- WYSIWYG fields (paragraph and line breaks converter)
- Post Link (allows you to wrap your values with a link to the inner post)
- Comma-separated values to lists and multi-column conversion
- String to tel: link conversion
- Numeric conversions
Dynamic Title Block
This is the same as the core Post title block, but it has more design options, and responsive options and also can be used to retrieve values from definite posts. It supports also post types and repeater
Dynamic Image Block
This is the same as the core Post image block, but it has more design options, responsive options, and size options and also can be used to retrieve values from definite posts. It supports also post types and repeater
Dynamic Gallery, Slider, Carousel
This allows you to get images from post attachments, custom fields, and gallery fields. You can use it as an image grid or as a Slider, a carousel of images
Dynamic Map block
This block supports multi markers which can get values from Map fields (ACF Map as an example).
Relationship and Repeater blocks
This kind of data can be used with Repeater Builder. You can show any kind of repeatable arrays and also you can use this to retrieve values from connected custom post items from relationship type of fields (for example, in ACF). This also supports related posts which are saved as ids with comma-separated numbers.
3 responses to “Dynamic fields”
I have a ACF that has a text URL in it. I need to wrap this text URL with a tags to make it a link in the output.
I see you have a “mailto” but I don’t see a textlink. How can I go about formatting the output of this field?
Thanks a million!
Hi. Plugin has dynamic link option in Button block and in Container block. So, you can use Advanced Button block to make links (you can set background color with zero opacity to make button looks like a link)
Thanks a million!