WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] RSS icon placement (4 posts)

  1. berchman
    Member
    Posted 8 years ago #

    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.

  2. Beel
    Member
    Posted 8 years ago #

    <?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.

  3. moshu
    Member
    Posted 8 years ago #

    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.

  4. berchman
    Member
    Posted 8 years ago #

    Beel and moshu,
    Many thanks. That was perfect.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags