Hey all,
I’ve created a JetEngine Glossary and am using that glossary in a JetEngine-created CPT. I’ve created a template in Bricks to pull those CPT fields into the template. On the front end, however, the output of the field is not the “user friendly” field, but instead is showing the Field Value instead of the Field Label. In Elementor, there was a way to control the field output so it showed the human-friendly output rather than “name_of_glossary_item” which is what I’m getting right now. Is there a way to handle this in Bricks?
Anyone got any intel on this? Haven’t been able to find a solution since my original post. Thanks!
Try to create a shortcode from your field in jetengine shortcode generator with “get labels by glossary data” callback and then use it in macros generator (shortcode result), don’t forget to check ‘Bricks Dynamic Macro’ switcher and render it via {je_macros:%%your_long_macros_here%%}
Thanks for this reminder, Illarion
.
Here’s a tip for the community: in my case, to display Dynamic Fields: Meta Fields from JetEngine’s Meta Box. I needed to display them without using the Dynamic Fields element because I wanted to customize HTML tags (list with dl/dt/dd) and with the Dynamic Fields element, we are limited to div, span, p, and Hn tags.
Steps:
- Go to Macros Generator
- Generate macros
- Select JetEngine meta field
- Choose your field
- Select Return Field Value or Field Name as needed
- Insert into a Code element using:
{je_macros:%jet_engine_field_name|yourfieldname|field_value%}
Don’t forget to check “Parse dynamic data” in the Code element settings.