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>
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.