Support » Plugin: Cool Video Gallery » Using shortcode in php

  • Hi,

    I want to include this plugin on a category page php file. I used
    <?php echo do_shortcode(“[cvg-gallery galleryId=’1′ mode=’playlist’ /]”); ?>
    But the shortcode just appears on the site. Although if I paste the shortcode into a post, the video player appears just fine.

    Can you suggest a fix for this please?



  • The topic ‘Using shortcode in php’ is closed to new replies.