Create form in template file <form id="newsletter_form1" method="POST" action=""> <input type="email" id="news_email" placeholder="Enter your email" required> <button class="sbtn">Submit</button> </form> 2. create js file that call the ajax on submit of…
To add a custom navigation menu, the first thing you need to do is register your new navigation menu by adding this code to your theme’s functions.php file. function hd_custom_new_menu() { register_nav_menus(…