In a previous post, I found my new theme. I am still very pleased with it but when I was "kicking the tires", I realized the RSS e-mail subscriptions form was not working. When digging into the code I noticed that I needed to make a change to get it to work. In order to make the changes we need to edit the WP Premium header.php file. Near the bottom, you will find the "subscribeform" div (see below).
<div class="subscribeform">
<p>Subscribe via Email </p>
<form action="enter your feed address here" method="get">
<input type="text" value="" class="input" />
<input type="button" class="sbutton" value="Subscribe" />
</form>
</div>
<input type="hidden" value="WP Theme 4 Free" name="title"/>
<input type="hidden" value="http://feeds.feedburner.com/~e?ffid=452013" name="url"/>
When you put the whole thing together, the completed code should look like the following:
<div class="subscribeform">
<p>Subscribe via Email </p>
<form action="http://www.feedburner.com/fb/a/emailverify" method="post" target="popupwindow" onsubmit="window.open('http://www.feedburner.com', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
<input type="text" value="" name="email" class="input" />
<input type="submit" class="sbutton" value="Subscribe" />
<input type="hidden" value="http://feeds.feedburner.com/~e?ffid=452013" name="url"/>
<input type="hidden" value="WP Theme 4 Free" name="title"/>
</form>
</div>


Recent Comments