Home Forums Newsletter Plugin Support Adding short code to HTML

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #300860
    mdecker84
    Participant

    Hi,
    Can someone help me? I’m adding this short code to my front_page.php file but when I hit subscribe it just reloads the page
    <div><?php echo do_shortcode(‘[newsletter_form type="minimal" confirmation_url="index.php/newsletter/"]‘) ?></div>

    #300918
    Stefano
    Keymaster

    Hi, the form send the data to your homepage with parameter ?na=s. If the page just reload and you see that parameter there is a problem with a caching plugin or like.
    About the confirmation URL, try to use a full URL instead of the relative one, but it should no be a problem.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.