[resolved] Hardcoding Widget (4 posts)

  1. EarlSnappy
    Posted 3 years 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


  2. Stefano Lissa
    Plugin Author

    Posted 3 years ago #

    Copy the generated witdget code or the form code you find on subscription panel/forms field (and adapt it).


  3. EarlSnappy
    Posted 3 years ago #

    Hi Stefano,

    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

  4. EarlSnappy
    Posted 3 years ago #

    Hi stephano, my friend doesn't want the widget anymore, but thanks very much for your help, it helped my learning curve anyway, Earl

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Newsletter
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic