View Full Version : rss subsciption wordpress blog template problem

05-08-2009, 12:28 AM
hey guys...
i tweaked this free wordpress template but there is one thing I can't figure out about the rss subscription
I am seeking help on this forum because my PHP skills are very poor.

<?php if ( is_home() ) { ?>

<h2>Subscribe to AllinPkr.com</h2>

<div class="box">

<p>You can subscribe by email to receive newsletter updates:</p>

<form action="http://www.feedburner.com/fb/a/emailverify" method="post" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=Allinpkrcom', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true" class="subscribe">


<input type="text" class="feedinput" value="Your email address ..." name="email" />

<input type="submit" class="feedsubmit" value="Join" />

<input type="hidden" value="http://feedburner.google.com/fb/a/mailverify?uri=Allinpkrcom" name="url"/>

<input type="hidden" value="<?php echo $blog_title; ?>" name="title"/>

<input type="hidden" name="loc" value="<?php echo $location; ?>"/>



<p><strong>Subscribe</strong> through a RSS feed reader</p>

<p><a href="<?php bloginfo('rss2_url'); ?>" class="feedlink">News Feed</a> <a href="<?php bloginfo('comments_rss2_url'); ?>" class="feedlink">Comments Feed</a></p>


<?php } ?>

the "news feed" and "comments feed" work fine but the subscribe by email form doesn't work properly.
First of all once you type the email adress and press join a feedburner window pops up and it forgets the email adress you have previously entered so you have to insert it again.
Secondly my homepage gets redirected to a feedburner page that says "no feeds in this account" or something like that.
What part of the code do I have to change to cancel the redirecting and not to make the feedburner popup window forget the email adress I just entered before clicking join?

Thanks for your help!