php in shortcode
-
Hi there,
Thank you for this nice plugin.
I would like to be able to insert some php code into a kaya shortcode. My specific need is to dynamically display the post title
I tried something like :
<?php echo do_shortcode( '[kaya_qrcode content="echo the_permalink();"]' ); ?>
But it does not work…
Any solution?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘php in shortcode’ is closed to new replies.