Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 112616

vtxyzzy on "Using do_shortcode() with variables?"

$
0
0

I don't know what [php snipped=1] is supposed to do, but most times shortcodes return a value and you must echo them to output the value to the screen. Try this:

<?php echo do_shortcode('[php snippet=1]'); ?>

Viewing all articles
Browse latest Browse all 112616

Trending Articles