Grow your CSS skills. Land your dream job.

Styling RSS in WordPress

  • # January 24, 2009 at 3:40 pm

    I’m having a bit of trouble getting my RSS feeds to turn out the way I want. I have added a stylesheet link within my "feed-rss2.php" file but it does not seem to pick up any of the styles I define.

    While I’m at it, even though I have pointed to the rss2 template in my header <?php bloginfo(‘rss2_url’); ?> when I go to the permalink http://domain.com/feed I actually end up seeing a different result then if I had gone to it via http://domain.com/wp-rss2.php. There seems to be no discernible rhyme or reason for whether the feed renders with a summary, the whole content, with the stylesheet link or without.

    I have to say I’m thoroughly confused. Am I missing something terribly obvious? Anyone else run into these problems? Chris do you happen to have a tutorial for setting up custom rss feeds in wordpress?

    Thanks!

    # January 24, 2009 at 4:01 pm

    the wp_rss2.php is just there to bookmark the feed is it not? same as /feed?

    are you wanting to style a link for the feed, like in a sidebar?

    # January 24, 2009 at 5:48 pm

    I’m wanting to style the feed itself. It was my impression by using template tags like "the_content_rss" I could edit the feed-rss2.php file and fineTune what gets displayed in the feed. Similarly I’m trying to add an xml-stylesheet link there to provide some styling to the elements in the feed.

    # January 25, 2009 at 2:35 am
    "Bryan" wrote:
    I’m wanting to style the feed itself. It was my impression by using template tags like "the_content_rss" I could edit the feed-rss2.php file and fineTune what gets displayed in the feed. Similarly I’m trying to add an xml-stylesheet link there to provide some styling to the elements in the feed.

    never tried it dude

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".