MasterSlider / Custom Fields
-
Hi,
I’m trying to use masterslider with custom fields plugin at single.php, i have multiples photo galleries and i need that each post will display a unique gallery.
Master Slider Code: <?php masterslider( $id ); ?>
Custom Fields Code: <?php the_field(‘code’); ?>But when i use together i have a blank page
<?php masterslider( <?php the_field(‘code’); ?> ); ?>
Can anyone help me, do i have to use functions.php to declare $id for the_field(‘code’); ?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘MasterSlider / Custom Fields’ is closed to new replies.