I’m trying to edit my Post Template to have something like <link rel="alternate" type="application/rss+xml" title="RSS" href="http://host.com/entry-name/feed" /> – created dynamically for every entry. I’ve tried every RSS Template Tag but I can’t seem to get anything with just text to put in the ” “. <?php comments_rss_link('RSS'); ?> is creating me an actual hyperlink.
I came up with a solution that isn’t really pretty (since I’m using /%postname%/ permalinks) but works. <link rel="alternate" type="application/rss+xml" title="RSS" href="http://host.com/?feed=rss2&p=<?php the_ID(); ?>" />
Viewing 1 replies (of 1 total)
The topic ‘Link entry’s RSS feed for browsers’ is closed to new replies.