Support » Plugin: Co-Authors Plus » [Plugin: Co-Authors Plus] How to get the RSS Feed for a CoAuthor ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    What’s the co-authors profile page? You should be able to get a feed of their posts (authored and co-authored) by appending /feed/

    ah ok… it appears to work, although I disabled the author profile pages since I’m using BuddyPress and created a special Buddypress page in their profiles with a list of all of co-authored posts (excluding certain post types). I need to think of a way to customize that list into a feed. Some posts belonging to certain post types are excluded (like… I don’t need to list wordpress pages and other content). Any advices on how to achieve that? Thank you!

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    You’ll want to modify the query for the feed. Try checking out the ‘pre_get_posts‘. Basically, you just want to modify the main query object for the feed to also include all of the coauthors posts. You can access these easily because coauthors uses the ‘author’ taxonomy and the user_login is the slug.

    ok thanks will give a try

    Plugin Author Daniel Bachhuber

    (@danielbachhuber)

    Hand Built

    Did this work out for you? Mind posting your code in a pastebin and sharing here for the next person?

    Hi Daniel,

    I haven’t worked at this yet – I just got the wordpress codex reference for pre_get_posts sitting in my bookmarks at the moment 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Co-Authors Plus] How to get the RSS Feed for a CoAuthor ?’ is closed to new replies.