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"/>
 
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="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.

StumbleUpon It!

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

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

[...] an earlier post I showed you how to use Feedburner with the Wordpress theme WP Bliss.  But that is not the [...]

Awesome Work Man.. I Appreciate It

Seems to have worked like a charm. Thanks a bunch!

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:

http://www.feedburner.com/fb/a/emailverify

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.

Jeff, thanks, nothing silly about it, worked perfect. danke

[...] 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 [...]

Thank for the tip!
That was awsome because I didnt know how to get this working!
Great work!

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.

Oh yes, the URL is http://www.brandonmarc.com

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

url: http://adrianarmstrong.net

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.

Byron.. Looks like your subscriptions are working fine now. Are you still having problems?

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.

Thanks jeff. I just realize my error after I posted.

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

Perfect! Thanks for working this out :D

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

My email address is seventrust@mweb.co.za

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.

This worked perfectly! Thank you for the advice and especially the code example.

Rick

Thank you for the code example Jeff. I was really scratching my head over this one.

-Alfred

Thanks for the instructions Jeff, this is my first ‘real’ blog set up and the email subscribe function was driving me crazy! - Louis

Thanks for the info! Really helpful! Worked like a charm the first time :)

Jeff,
Your example rocks, thank you.

Leave a comment

(required)

(required)