New answers tagged feed
1
FYI, you should never hack the WordPress core files. Instead, WordPress provides the handy rss2_item action hook. All we need to do is check if we're on a category feed or not:
function wpse_99336_category_feed_item() {
if ( is_category() && get_the_post_thumbnail() ) {
printf ( '<featured-item>%s</featured-item>',
...
1
It is very likely because you are using the old Twitter API, for example:
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/USERNAME.json?callback=twitterCallback2&count=4">
You will need to update your code to the new API:
...
1
For terms and taxonomies use get_term_feed_link:
"Returns a link to the feed for all posts in a given term. A specific
feed can be requested or left blank to get the default feed."
See also get_tag_feed_link and get_category_feed_link.
For post types see get_post_type_archive_feed_link.
These functions are located in in ...
Top 50 recent answers are included
