WordPress.org

Ready to get started?Download WordPress

Forums

ADD Post ID to rss feed (4 posts)

  1. weiler14
    Member
    Posted 4 years ago #

    hi, i would simply like to add the post id for each post in my rss feed. Please help?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    The post id already goes out as part of the RSS2 feed:

    <guid isPermaLink="false">http://domain_name/?p=nnn</guid>

    where nnn is the post id.

  3. weiler14
    Member
    Posted 4 years ago #

    no just want to create a section called <post id> nnn <post id>
    where only the post id shows

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    You could have a look at http://codex.wordpress.org/Customizing_Feeds but you need to bear in mind that <post id></post id> isn't part of the RSS spec as far as I'm aware.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.