• Resolved marcelahippe

    (@marcelahippe)


    Hi guys.

    I’d like to show a link (maybe just an icon) to the feed RSS of my blog so the visitors can click and subscribe. How can I do this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Depending where you’ve installed WordPress and whether you have pretty permalinks active, a site’s feed is usually located here: http://www.mysite.com/feed/ More info.

    You can upload any RSS icon to your Media Library, and then wrap the image in an HTML link. Then, place the HTML code in a text widget in your sidebar, under Appearance > Widgets.

    The HTML code will look roughly like this, except that the URLs will be the ones for your own site, of course. 🙂

    <a href="http://www.mysite.com/feed/"><img src="http://www.mysite.com/path/to/image.png" /></a>

    There is a full guide on how to do that here as well: http://en.support.wordpress.com/links/text-widget-links/

    Let me know how it goes! If you need further help please provide a link to your site as it’s easier to help that way.

    Thread Starter marcelahippe

    (@marcelahippe)

    Hi, Kathryn. Thanks for your quick response.

    Actually, I was wonder if there was a native way to do that, like we do with the social links, but I did it “manually” already. Check it out: curti.marcelahippe.com and click the menu icon.

    Thanks again for your attention 🙂 Much appreciated.

    Hi there, do you mean that you wanted to add an RSS feed link next to the other social-media options that get set in the customizer under Theme Options?

    You could do that, but it would require some editing of the customizer functions in inc/customizer.js, where those services are defined. I’m not sure how comfortable you are editing theme files, but here are some things to watch out for if you wanted to give it a try:

    – you’ll need to create a child theme so your changes won’t be overwritten when updating the theme
    – the entire ryu_customize_register function – with your new RSS array item – will need to be redeclared in a file called functions.php in your child theme
    – you’ll need to add a matching CSS class to have an RSS icon show up for the new RSS item. Since the theme uses Genericons to generate the icons you can use the RSS icon from there as well: http://genericons.com/#feed

    If this is too complicated, then you may just want to stick with a manual RSS widget. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I show a feed RSS link?’ is closed to new replies.