The
RSS specification allows you to have an element in the header of your RSS feed. A long time ago, if you used Wordpress, you'd have to edit the wp-rss.php file and be very careful when you upgraded to new releases, or your change could be lost.
But if you use a modern version of Wordpress, you should take advantage of the do_action('
(
Read more... )
Comments 17
bloginfo_rss('stylesheet_directory')
would probably be better than
bloginfo_rss('url')
so that you could use an images folder in the theme itself. Very helpful function, many thanks.
Reply
Reply
Reply
Reply
-Cars
Reply
you said to:
"Take care to actually put an image file in the path specified, and adjust the width and height accordingly."
I'm not sure I know what you are saying here. There are images in every one of my articles. Am I supposed to do more than paste the code into the functions.php theme file?
I'd appreciate help for anyone.
Thank you,
Sharon
smkyle1@yahoo.com
Reply
Refer to the link at the top of this post, and examine only the section, " sub-element of ", to see what this is about.
If you get it, and can read XML, and understand the intent of the RSS schema, then this tip is for you. To verify you've done it correctly, you may want to cURL your feed's address and visually inspect the element. Most people don't concern themselves with this sort of thing.
Reply
Leave a comment