Adding an RSS Link to Every Post

Discussion in 'HTML & Website Design' started by tillson206, Jan 16, 2011.

  1. #1
    Guys can anyone help?

    I would like to add a small RSS subscribe button at the bottom of every post in my word press blogs. A assume I need to edit the post.php file to do this?

    I user feedburn to manage my RSS. Can anyone tell me what code I need to place in the PHP file?

    James
     
    tillson206, Jan 16, 2011 IP
  2. iamgame

    iamgame Greenhorn

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #2
    You'll need to put the button HTML code in the file labeled "Single Post" in Appearance > Editor in your WP Admin. In my case, that file is "single.php". To put the button at the bottom of the post, just before the comments section, I would paste my HTML code just before this line:
    
    <?php comments_template(); ?>
    
    Code (markup):
    so that my revised code looks like this:
    
    <!--/entry -->
    <a href="link-to-feedburner-feed"><img src="your-button.jpg" alt="" /></a>
    <?php comments_template(); ?>
    
    Code (markup):
     
    iamgame, Jan 18, 2011 IP