WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] RSS icon placement

[Resolved] RSS icon placement

  • berchman
    Participant

    @berchman

    This is my first post to the forums. I am a complete WordPress noob. I’ve used other similar ‘blog’ software packages and am finding WordPress to be a great solution.

    I am trying to insert the common orange rss icon immediatley after the title of a comment. I have searched these forums for an answer and been through the codex without success in finding how to do this.

    I need to wrap the image with an anchor tag that will dynamically post the correct RSS feed URL.

    I’ve seen this used extensively on WordPress sites but haven’t a clue how to accomplish it. Any help is appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • <?php comments_rss_link(‘<img src=”pathto/rss.gif” alt=”RSS feed for comments on ths post” />’); ?>

    I assume you don’t actually mean after the title of each comment.

    to insert the common orange rss icon immediatley after the title of a comment
    I assume you meant “title of post” – since comments don’t really have title…
    Do I understand correctly that you want to offer a separate feed for every post and you want the orange gizmo at the title? I’d look in the template file where you want to do it (index.php or single.php) and put the code near the <?php the_title(); ?> tag.

    berchman
    Participant

    @berchman

    Beel and moshu,
    Many thanks. That was perfect.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] RSS icon placement’ is closed to new replies.