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

    (@shazdeh)

    Hi,
    for sure. Here is an example:
    <?php echo do_shortcode('[widget id="text-1" before_widget="" after_widget="" title="0"]'); ?>

    You can also use the do_widget function which is same as above but it is faster (since WP doesn’t have to parse the shortcode):
    <?php do_widget( array( 'id' => 'text-1', 'title' => false, 'before_widget' => '' ) ); ?>

    Thread Starter saosangmo

    (@saosangmo)

    Thank for nice plugin and your supoort.

    I have already worked around to mix it with template:
    http://suachuadienlanh.net.vn/dia-thuy-tinh-trong-lo-vi-song.html

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use do shortcode in plugin?’ is closed to new replies.