Skip to:
Content
Pages
Categories
Search
Top
Bottom

automatically insert RSS links

  • @eli_damon

    Participant

    Is there a plugin that will automatically attach links to RSS feeds to everything that has an associated RSS feed? For example, a link at the top of a topic to a feed for that topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @netweb

    Keymaster

    This is included as an optional option in the next release bbPress 2.6 🙂

    @eli_damon

    Participant

    Okay, thanks for letting me know.

    @robkk

    Moderator

    i found this gist here , and it might be useful.

    https://gist.github.com/trishasalas/9818135

    plop this into your child theme functions.php or a functionality plugin

    add_action( 'bbp_template_before_replies_loop', 'bbpress_rss' );
    function bbpress_rss() {
    $url = "http" . (($_SERVER['SERVER_PORT']==443) ? "s://" : "://") . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    echo ' <a href="' . $url . 'feed">Subscribe via RSS</a>';
    }

    EDIT: @netweb thats sweet!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar