Using Feedburner in WP Bliss
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 Bliss 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>
This is the only place we will need to make edits. First you need to replace the "enter your feed address here" with the Feedburner address http://www.feedburner.com/fb/a/emailverify and change the method from "get" to "post".
On the first input line, we need to add name="email" before the class="input" . We also need to change the input type on the 2nd input line. Change the type="button" to type="submit" .
But we aren’t done yet, we also need to add 2 hidden input lines to this html form. One needs to be named "title" with of a value of your blog’s name. For this blog it should look like:
<input type="hidden" value="Tree Rat Fishing" name="title"/>
The second hidden input needs to be named "url" with a value of "http://feeds.feedburner.com/~e?ffid=YOUR_FEED_BURNER_ID". You can find this Feedburner ID in the code presented in the Publicize / Email subscriptions of your feedburner control panel. For this blog it should look like:
<input type="hidden" value="http://feeds.feedburner.com/~e?ffid=452013" name="url"/>
<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="Tree Rat Fishing" name="title"/>
</form>
</div>
In my example, I also added some code to the form action line that opens this subscription page to a new browser windows. This way the user never leaves my site. To see it in action, put your e-mail address in the subscription form above and put your name in the hat for a subscription to TRF.
Feel free to leave a comment if you are having any problems with getting this working on your blog.
If you found this page useful, consider linking to it.
Simply copy and paste the code below into your web site (Ctrl+C to copy)
It will look like this: Using Feedburner in WP Bliss
Enjoy this post? Please consider leaving a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
[...] an earlier post I showed you how to use Feedburner with the Wordpress theme WP Bliss. But that is not the [...]
Hey Thanks for a great theme. I tried to write the code for this and it looks good, but for some reason I can’t get it to work on my blog. Does this code look right?
Subscribe via Email
Duane.. The HTML in your post was stripped out but I took a look at your page and it looks as if you need to change your form action to:
Hey Jeff
Thanks for the help. That worked like a charm. System is saying I don’t have e-mail subscription enabled when I do, so other then that everything looks good.
Hi Jeff,
Thanks for the post, you’ve certainly improved things from the way it was before.
Unfortunately when I try to test it it says
The feed does not have subscriptions by email enabled
How do I fix this problem?
The address is http://www.airdrieonians.com if you need to test it.
Simon – You have to enable e-mail subscriptions in your feedburner control panel. Just as a note, you need to change the “title” form field to the name of your blog. It still says “Tree Rat Fishing”.
Thanks for figuring this out, I am getting an error though, it has to do with the open in new window line, keep getting invalid character error. any ideas?
Jake.. I looked at the code on your site and the only thing I would suggest changing is the last hidden input. It needs to be named “title”.
Jeff, thanks, I corrected that, and included the “window.open…. function, which is what appears to be causing the error. I left it on the site if you happen to find yourself in my neck of the woods again.
I suppose I can live without it opening in a new window, but sure would be nice, maybe I’ll just add a target=”_blank” to it as a work around. heeh
Jake.. this may sound silly, but go through and delete out the single quotes and re-type them in. If you view the source of your page in Notepad, it shows the final single quote as a box.
[...] the RSS feature didn’t work, only because it hadn’t been configured, but thankfully Jeff Story had written about turning on the feed function and subscribing by email. Kudo’s for Jeff, [...]
[...] Final note: Lis of About Every Little Thing pointed me to this great article on how to fix the subscribe box at top to work with Feedburner: Using Feedburner in WP Bliss [...]
Hello Jeff!
Many thanks for all the excellent help, but I’m still struggling
I managed to get the Feedburner subscribe button working, but I can’t get it to open in a new browser window. Please could you assist me. I also subscribed to your blog and I received an email with subject ‘Activate your Email Subscription to: Tree Rat Fishing’ When I subscribe to my blog, I receive a default subject title. Where can this be edited? I’m also trying to setup and understand the RSS Feed button. Any assistance would be much appreciated!
All the best,
Justin.
Justin.. To get it to open into a new window, you need to add a “target” in the form action. In my example above I used ‘target=”popupwindow”‘.
As far as your RSS needs, I would recommend FeedBurner Feedsmith at the following URL http://www.feedburner.com/fb/a.....quickstart
Thanks for your work. Setting up was a breeze and a lot less hassle than installing Scribe2. Make sure you customize your E-Mail Subscription settings in Feed Burner Control Panel!
Hey Jeff
Great info.
Just a small point, after subscription, it opens into a new window..not popup.
I think I copied exactly what you had above
Cheers
Adrian
Hey there mate, I was wondering if you could help me as my subscription form is not showing up correctly.
http://www.supercrosscowboys.com
Your help would be greatly appreciated.
Hi. I’ve activated my feedburner email, but I can’t seem to get it to work. I get the this feed by email is not enabled or something like that. Would someone please take a look and see what I’m doing wrong? Thanks.
Jim.. It looks like you have it right now, I just tried to subscribe and it does not give me the error you mentioned.
Well yes it is working but it is definately in the wrong place lol. How do I get it back to where it was? Thank you for looking mate.
Byron.. Well I see you moved away from the DIV tags in the original theme. I would put the div with the class of subscribe back around the subscription form. If this doesn’t fix it, I would remove the adsense div to see if that is the offending code.
Also.. IE detects that there is an illegal character in the form action string. I would delete it out and manually re-type it in. Sometimes if you copy and paste from a webpage it will pick up special characters, sometimes they are not viewable.
It works just fine!
Another tip for those people who doesn`t have a subscription form in english, just add line:
Replace the “en_US” with the language that you use in your Blog. This way the feedburner instructions will be displayed in your native language.
And thanks for the tip Jeff.
Thank you so much for this!! I am starting a second blog hoping to use this theme but was going NUTS trying to figure it out!
Thank you so much,
you’ve described the procedure concisely – went without a hitch.
Thanks again & regards
Mel
Hello Jeff and fellow bloggers!
I am using the WP Bliss theme on my blog and would like to add an aweber opt-in instead of using feedburner. I have purchased the aweber service, but I’m really struggling to get it working
If anybody could assist I would be so very grateful. Feel free to email me. Thanks and Regards,
Brandon – http://www.brandonmarc.com
Jeff,
Am setting up a new blog and using this same theme. Thanks so much for your easy to follow instructions on setting up the email subscribe function. Nice work.
Thanks for the instructions Jeff, this is my first ‘real’ blog set up and the email subscribe function was driving me crazy! – Louis
[...] by email” function to work with FeedBurner, I found out that someone else had already documented this on his site. My solution is slightly different, but both should [...]
This is absolutely wonderful. Thank you. Works perfectly and was described perfectly. Any chance you would have already worked out such nice instructions on tabber for this same theme? I am totally lost on that one and spent way too many hours trying to figure it out.
-brian
Jeff,
Very nice work…I just installed this theme and it rocks. However, for some reason I have 2 ‘recent posts’ in the right sidebar. How do I get rid of one? Also, I’m looking to monetize my website with google adsense(I already have an account and been approved). I have absolutely no idea of how or where to place the code so they’ll show up in the right sidebar beneath the recent posts and topics portion. Can you help with that? Thanks,
Kelvin.. I would check your widgets to see if you have your recent post widget enabled. If so, remove it. As far as where to put your Adsense code, you will want to put it in the “sidebar_featured.php”. In addition to adsense you might also want to consider other programs like PerformancingAds. I have started using it and had a new advertiser within 24 hours of signing up.
Jeff, I don’t have any widgets enabled….any suggestions? Also, thanks for the info on the google adsense
Actually, your problem is opposite of what I suggested. If you don’t have any widgets enabled it will put “Recent Posts” in sidebar 1 by default. Go ahead and put a widget in sidebar1 and you should be in better shape.
Jeff, thanks that worked! I haven’t tried to adsense suggestion yet…
<img src=”/images/thumb1.gif”>
^that is one part of what’s in the sidebar_featured.php…where in there would I put the adsense code? Also, if I want to put some adsense on the left hand side of my blog…where would I go to insert the code?
Hi Jeff, thanks for the instructions. It worked well and the Feedburner subscription is working but only when I press enter.
The Subscribe button does nothing for me. Any ideas?
Don’t worry, the input type was set to “button” instead of “submit”.
Thanks for a great instructional.
Thank you so much for the fix. I’m a nube, stumbling my way through codes, html, css and a host of other things I’ve nary a clue about. When I discovered my WP theme not allowing the email subscribe, I was lost. I went to the theme site I downloaded from at wpremix and found your comment. The code worked great!
Thanks again.
Jeff,
One quick question if you don’t mind. I’m using the wp premium theme from wp remix. I’m certain this must be a wp dashboard question, but how do I get my posts on my main page to have a “Leave a Comment” section. Right now viewers have to click the post title to see the post with the comments section.
Any help you could give me would be great.
Tumblemoose..
You will have to alter the theme to add a leave a comment selection at the bottom of your posts. It is a little more difficult than what can be explained in a comment. I will see what I can do to come up with a post showing how to do this.
Thanks for the response. I really do appreciate the effort.
I’m setting a link to Tree Rat Fishing on Tumblemoose right now!
[...] of all, create a Feedburner (or any other such feed provider) account and then head over to this post by Jeff. Instructions are self explanatory.2.2 [...]
[...] of all, create a Feedburner (or any other such feed provider) account and then head over to this post by Jeff. Instructions are self explanatory. 2.2 [...]
Hi Jeff,
Thanks a lot for the instructions. I added the code exactly the same way you have instructed but my subscription button is opening the blog in the pp up window rather than the subscription form. I have no clue where am I going wrong.Your help would be highly appreciated. Also, as of now you can view my blog on Mozilla and not on IE.
Thanks for this ! It works great.
Do you know how to display full posts when you click on a category ? I only get the begining of the posts in this category and have no idea to display the full posts. I don’t know what to change in the index.php file or elsewhere ? Do you know how ?
Hey Jeff,
Just wanted to drop you a line saying thanks for this great post. I’ve been struggling trying to add this to my blog and your post details everything perfectly.
thanks again,
Bill
Thank you so much! Very helpful, got it working in minutes (and thanks for all the follow up Q&A which helped me pop the form up in a separate window!)
[...] nicht (oben rechts). Ich habe den Fehler nun endlich beheben können. Vielen Dank noch mal an Jeff! Neu im [...]
Thanks so much for this post! It’s saved me from a huge headache =)
Now, I just need to work out why my page tabs aren’t working properly =\
Hi,
i have this error:
Parse error: syntax error, unexpected ‘?’, expecting ‘)’ in /home/user1919/public_html/wp-content/themes/WP_Premium/header.php on line 7
Why?
Andrea.. I am not sure what is going on with that error. Line 7 of the Header.php file should only deal with setting the HTML title tag. Shouldn’t have anything to do with using feedburner.
Having the same problem with subscribe with the error: The feed does not have subscriptions by email enabled. Not sure what to do. Please help! Here is the code:
Subscribe via Email
Looks like I have Subscriptions by email enabled but it isn’t working.
I figured it out and it is working. But now how do I access the list of subscribers? The list I am seeing under Tools/Subscribers does not have any of the new people that have subscribed since I got the feedburner account and updated the code. PLEASE HELP!
Dawn
Just checked Feedburner and I have 20 subscribers. Are they suppose to show up on my WP Premium Dashboard?
Hey Jeff, thanx for the great post. I am having some issues though – I am getting the following error:
This XML file does not appear to have any style information associated with it.
I am using WP Premium.
Any thoughts?
Gordon. It seems the error is coming from feedburner I would double check your FB settings. The code on your blog looks right.
Dawn.. Your feed subscribers are managed by feedburner and won’t show up in your dashboard. You might want to look for a wordpress plugin that will help you manage your FB settings from within the admin control panel.
Thanks for the tips. But I still couldn’t it to work. Bloody syntax error. So, I just removed the whole subscribe box all together.
This is a great theme but I don’t get why the developer didn’t make it simple for you to setup a major part of the design.
Oh well.





hi there,
thanks for pointing the things and writing an article about this. I was thinking to implement this code in the theme so, others could benefit as well. Please drop me an e-mail with your thoughts.
thanks