Help with custom bbpress Like/Dislike plugin
-
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:
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.
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!
- You must be logged in to reply to this topic.