Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to remove ‘Author on’ from beg. of RSS feed?

  • I dont have BBPress Live enabled so I pull the forums into my WP blog via RSS widget. It says ‘[Author] on’ at the beginning of each post. I like how WP has an option to display author at the end of the post in italics instead.

    Where is the output code for the RSS that can be removed/tweaked?

    v 0.9.0.2

Viewing 10 replies - 1 through 10 (of 10 total)
  • I’ve looked everywhere. Mostly BBPress files though…rss.php, some of the functions files, the widgets files

    I would expect to see something like <post_author> ” on” <topic_id> somewhere in the php code and be able to delete everything before <topic_id> but not finding it.


    chrishajer
    Participant

    @chrishajer

    What widget are you using to pull the feed into WordPress? And what feed URL are you using?


    chrishajer
    Participant

    @chrishajer

    Look at rss2.php in your theme. It is line 19 in the stock kakumei theme.

    Thanks for your help, Chris. Shockingly it didn’t work. I am using bbOrg theme for which there is no rss php file. So I changed the one in kakumei but didnt work. Maybe there is an override built into BBPress, WordPress somewhere else with the exact same code?

    Note that I removed it on both my local server bbpress file and my actual live site’s server. Didn’t work in either case.

    http://beernews.org/ Look at the left sidebar.


    chrishajer
    Participant

    @chrishajer

    You would have to change the one in your theme, not a theme you’re not using. If you don’t have this file, then it’s a bbPress file that’s providing this function.

    Wait – it used to be that if a file was not present in your theme, the file from the stock theme would be used. That’s not the case? Is the RSS data cached or something? Can you force a refresh?


    chrishajer
    Participant

    @chrishajer

    Also, what widget are you using, and what feed URL are you using?

    WordPress built-in RSS widget. I realized I was pulling the wrong feed..should have actually read what you were asking me earlier..

    I wanted http://beernews.org/bbpress/rss/topics but was pulling http://beernews.org/bbpress/rss/ instead.

    I would like the option to use either though and posts feed (2nd one) is still pulling the author. I have the rss2.php file open but am too exhausted to think. Will re-visit in AM.

    There is no other mention of php post_author in Kakumei (except for threadauthor stuff in post.php) and certainly no mention in the BBOrg template. Something in the rss.php in the core BBPress files must be overriding the change in the template.


    chrishajer
    Participant

    @chrishajer

    In my 0.9.0.2 installation, in the file bb-templates/kakumei/rss2.php, it’s most definitely line 19. Not sure why yours does not contain this line. See screenshot here.

    http://www.chrishajer.com/bbpress/rss2.png

    Here’s the original file:

    http://trac.bbpress.org/browser/branches/0.9/bb-templates/kakumei/rss2.php#L19

    I looked in the bbOrg template and know there is no file there. So another theme is overriding it. In my installation, that would be the stock kakumei theme.

    While this isnt ‘resolved’ I found a workaround that served my purposes. It was a straightforward fix in some respects originally. Removing the beginning of line 19 did fix the title in my feed reader. For whatever reason, the RSS widget on my blog page wouldn’t take the new rules though. So I found the kb advanced rss widget and it read the title correctly.

    So I’m not sure if there is an override built into the WP RSS Widget core or what.. regardless, thanks for the help.

Viewing 10 replies - 1 through 10 (of 10 total)

You must be logged in to reply to this topic.