Integrating get_post_meta to call relevant NivoSlider
I am currently looking to use a different NivoSlider on different posts, so I set up a custom field where I can enter the Nivo Slider number and call it within the template using <?php echo do_shortcod
Currently I have:
<?php echo do_shortcode;?>("<?php echo get_post_meta($post->ID, 'nivo_number', true); ?>")<?php ; ?>
However this just shows the following text on the site
Can anyone help? If it doesn’t make sense I will try and explain.
- The topic ‘Integrating get_post_meta to call relevant NivoSlider’ is closed to new replies.