Help With Tags
-
Hi – I could use some help with tags – I want to add the tags for a story to the RSS feed – so a list of tags would be shown below each story – I was able to get the tags to show up but no matter what I try they are always at the top of the feed and it seems to break the feed – meaning it displays ok, but when you view source it looks like it is broken.
Here’s the code I am using:
function displayRSS($customRSS) {
if(is_feed()){
$customRSS.= $content;
$customRSS.= ‘<hr />’ . the_tags(‘Tags: ‘, ‘, ‘, ‘
‘);
}
return $customRSS;
}
add_filter(‘the_content’, ‘displayRSS’);Thanks for any help.
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
- The topic ‘Help With Tags’ is closed to new replies.