Support » Plugin: Newsletter » Hardcoding Widget
3 years, 10 months ago
Is there a way of hardcoding the widget into a template file?
i.e. I want to create a new index-newsletter.php that copies the format of index.php, but has the widget in it on the right sidebar,
Any help much appreciated, Earl
Copy the generated witdget code or the form code you find on subscription panel/forms field (and adapt it).
Thanks very much for that I succeeded in getting the widget into my custom sidebar, but I can’t get the css format working for it:
I want the form on the about us page top look like the form on the homepage. The reason I don’t just use the wordpress widget system is I don’t want the widget on the homepage.
I tried adding the css from widget-neutral.css to my childtheme css, and added the button to the folder, but it didn’t really work out,
Any suggestions (thanks again for your previous help too), Earl
Hi stephano, my friend doesn’t want the widget anymore, but thanks very much for your help, it helped my learning curve anyway, Earl