Skip to:
Content
Pages
Categories
Search
Top
Bottom

Help with custom bbpress Like/Dislike plugin


  • TKServer
    Participant

    @tkserver

    I decided to program my own Like/Dislike plugin so I could customize it and tweak it for my exact needs. It’s working great in my custom threaded forum view for bbpress here:

    Ute Fan Board

    By using the hook bbp_theme_after_reply_admin_links I’m able to get the like buttons to show up in the bbpress topics and replies, but they’re all the parent topic. See photo below.

    bbpress like button

    Here’s one of my hooks:

    //adds the like buttons right of the time on forum posts in bbpress
    function tk_after_bbpress_content() {
         $custom_content_after_forum_title = tk_like_buttons();
        echo $custom_content_after_forum_title;
    }
    add_action( 'bbp_theme_after_reply_admin_links', 'tk_after_bbpress_content' );

    Hoping perhaps @robkk or @casiepa have some ideas? I can’t get the post id into the plugin for replies. Thanks!

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