Support » Plugin: wpLike2Get » [Plugin: wpLike2Get] Insert code into single pages

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Markus Drubba

    (@drumba)

    Yes you can. Use the do_shortcode() method of the WordPress core. For example:

    do_shortcode('[l2g name="Download this awesome file" id="999" facebook="true" twitter="true" gplusone="false"]')

    Thank you!

    This is the code I have now inserted. Works great 🙂

    <?php
    if (function_exists('wplike2get_shortcode')) {
    echo do_shortcode('[l2g]<br >');
    } else {
    	echo "";
    }
    ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: wpLike2Get] Insert code into single pages’ is closed to new replies.