Hello,
I’ve added a Beaver Builder template shortcode to Inside Content Container, and it works great…
<?php echo do_shortcode( ' [fl_builder_insert_layout slug="nav-vianney-college-seminary" type="fl-builder-template"]' ); ?>
My problem is that I only want it to appear on pages attached to my custom taxonomy – called “sections”.
I tried the following and it didn’t work.
<?php if( has_term('section', 'section-vianney-college-seminary' ) ) : ?>
echo do_shortcode( ' [fl_builder_insert_layout slug="nav-vianney-college-seminary" type="fl-builder-template"]' );
<?php endif; ?>
Any suggestions?
Thanks!