• Resolved haddnin

    (@haddnin)


    I want to implement the subscribe form using the PHP function instead of using the shortcode in a widget or page. Can I do this? If so, what’s the function call?

    Thanx!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author PluginOps

    (@umarbajwa)

    Hi,

    You will use the do_shortcode(); function to execute the shortcode in php template.

    <?php do_shortcode('[SHORTCODE]'); ?>

    Thanks ??

    • This reply was modified 8 years, 5 months ago by PluginOps.
    Thread Starter haddnin

    (@haddnin)

    That’s the one! Thank you sir.

    Don’t forget the echo: <?php echo do_shortcode('[SHORTCODE]'); ?>

    Plugin Author PluginOps

    (@umarbajwa)

    Yes sir you’re correct, Don’t forget to write a review if you like the plugin.

    Have a great day ??

    Thread Starter haddnin

    (@haddnin)

    Looks like it does what I need. Just ordered the Premium Version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Don’t want to use Shortcode. Can I use PHP?’ is closed to new replies.