Viewing 3 replies - 1 through 3 (of 3 total)
  • what is the code echoing? also, do_shortcode does an echo of it’s own, so you are basically saying “echo echo”;

    Thread Starter helpwporg

    (@helpwordpressorg)

    Hi luckdragon

    Thanks for replying,

    I have checked the sweetcaptcha can be used with contact form 7 using shortcodes so I was trying to use it with in template file that have a custom form on it using custom code. Do you know how can I use it with in custom template.

    Thanks

    usually, if using it within a template, rather than calling the shortcode, you call the function directly.

    so you can try something like: <?php echo sweetcaptcha_shortcode(); ?>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘using sweet captcha in template file’ is closed to new replies.