ycfme
Power Member
- Mar 24, 2010
- 780
- 66
I tried this tutorial from here:
but i'm not doing something right or this code is incorrect.
I would appreciate it if someone can point e in the right direction.
Thanks
HTML:
http://wordpress.org/support/topic/rss-twenty-ten
Code:
<a href="<?php bloginfo('rss2_url'); ?>RSS Feed</a>
<a href="<?php bloginfo('comments_rss2_url'); ?>Comments RSS Feed</a>
Code:
<div class="rss-feed">
<a href="<?php bloginfo('rss2_url'); ?>" target="_blank">
<img src="<?php get_template_directory_uri(); ?>/images/rss.png" style="width:16px; height:16px;" alt="RSS" />
</a>
</div>
Create a file rss-1.php add the Linked Image code above and save.
To call the file add in your theme , header.php, footer.php or any other file.
<?php /* Add RSS Feed Icon */ ?>
<?php get_template_part( 'rss',1 ); ?>
but i'm not doing something right or this code is incorrect.
I would appreciate it if someone can point e in the right direction.
Thanks
Last edited: