WordPress – hardcoding subscribe2 (or any other plugin) widget into template

I know how to hardcode categories, archives, etc into theme but for one of my projects i would have to hardcode some plugins widgets (especially subscribe2) and i’m not sure how to do this. I know i can add widgets via widgets menu in wp admin, but that’s not what i’m trying to achieve, i’m trying to set it up permamently in theme for later reuse. How to do this? Especially with subscribe2?

Related posts

Leave a Reply

1 comment

  1. You can add the widget via the normal means, and check the code on the site using View->Source.

    Then, you need to edit the html template for the theme (depending on where you want the widget to appear – main entry, sidebar.html, etc) and add the code there directly.