WordPress.org

Support

Support » Plugins and Hacks » Hacks » Integrating get_post_meta to call relevant NivoSlider

Integrating get_post_meta to call relevant NivoSlider

  • Hi,

    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

    do_shortcode(“[nivoslider id=’245′]”)

    Can anyone help? If it doesn’t make sense I will try and explain.

    Thankyou

  • The topic ‘Integrating get_post_meta to call relevant NivoSlider’ is closed to new replies.