Using shortcodes within nextgen description
-
Hi,
I am trying to use a custom shortcode (the groups plugin) to show some specific content in the image description but I cannot get shortcodes to work.
Anyone had any luck with this or no how to do?
I am trying to add into the nextgen gallery download template.
this is the code ive tried:
<?php echo do_shortcode( "$image->description" ) ?>part of this wider code:
<label><div class="tooltip"><span class="fa-stack fa-lg priceicon"><i class="fa fa-circle fa-stack-2x priceiconbottom" ></i><i class="fa fa-dollar fa-inverse fa-stack-1x priceicontop" ></i></span><span class="tooltiptext"><?php echo do_shortcode( "$image->description" ) ?></span></div><a href="<?php echo $image->imageURL ?>" download><i class="fa fa-download singleimgdownload"></i></a><input type="checkbox" name="pid[]" class="imagecheckbox" value="<?php echo $image->pid ?>" /></label>Thanks
The topic ‘Using shortcodes within nextgen description’ is closed to new replies.