My "Subscribe" box has nothing in it?

Discussion in 'WordPress' started by pharcyded, Feb 3, 2008.

  1. #1
    On my blog: D2G

    My Subscribe box on the left side of my page is just blank...is there something I am supposed to do or turn on in order to have options there? Or am I just overlooking something? New to wordpress so I just need a lil help ;)
     
    pharcyded, Feb 3, 2008 IP
  2. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #2
    You need to add the appropriate code in your sidebar.php. Find yourself an RSS.gif and put it in your theme's images directory (wp-content/themes/theme_name/images). Put the code below under the Subscribe heading of your sidebar.php.

    <a href="<?php bloginfo('rss2_url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.gif" alt="Subscribe to my RSS feed"></a>
    Code (markup):
     
    mizaks, Feb 3, 2008 IP
  3. pharcyded

    pharcyded Peon

    Messages:
    720
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I changed it like you said and my code looks like this:

    
    <li class="subscribe">
    			<div class="schanierthree"></div>
    			<div class="schanierfour"></div>
    			<h2>Subscribe</h2>
    			<div class="subscribeinner">
    			<a href="<?php bloginfo('http://devoted2gaming.com/feed'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/rss.gif" alt="Subscribe to my RSS feed"></a>
    			</div>
    		</li>
    
    Code (markup):
    However, when I click the rss.gif on my site...it takes me to http://devoted2gaming/DeVOTeD 2 GaminG ....which doesn't exist...how can I fix this?
     
    pharcyded, Feb 3, 2008 IP
  4. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #4
    your rss feed is incorrect. It should be

    http://devoted2gaming.com/?feed=rss2
    Code (markup):
     
    mizaks, Feb 3, 2008 IP
  5. pharcyded

    pharcyded Peon

    Messages:
    720
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #5
    changed it to the new link, but I guess my website is taking a bit to update the changes...caz its still taking me to the weird link instead. Is there anything else wrong with the code up there?..or do I just need to wait?
     
    pharcyded, Feb 3, 2008 IP
  6. mizaks

    mizaks Well-Known Member

    Messages:
    2,066
    Likes Received:
    126
    Best Answers:
    0
    Trophy Points:
    135
    #6
    It is working fine now.
     
    mizaks, Feb 3, 2008 IP
    pharcyded likes this.
  7. pharcyded

    pharcyded Peon

    Messages:
    720
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Yes thank you for your help. It turned out I needed to remove the <?php bloginfo stuff out of the code. Just to let you know..in case someone else asks the same question one day :p
     
    pharcyded, Feb 3, 2008 IP