Bricks Version: 1.3.6
Browser: Chrome 96
OS: macOS
I’m using ACF Relationship field to pick proper service prices and show the prices table on page by custom php function executed in Code element.
<?php
$pricelists = get_field('pricelist_id');
if ($pricelists): ?>
<section class="pricelist-item">
<?php foreach ($pricelists as $tableId): ?>
[jtrt_tables id="<?php echo $tableId; ?>"]
<?php endforeach; ?>
</section>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
The code is executed properly and I get picked price table ID but the shortcode is not executed.
[jtrt_tables id=“258”]
I’ve noticed that even if I use dynamically shortcode provided by ACF field and added it as ‘Dynamic data’ in it doesn’t even render.
<?php the_field( 'pricelist_shortcode' ); ?>
render only text: [jtrt_tables id="258"]