bbPress Like Button
Does not work with show_lead_topic (2 posts)

  1. aravoth
    Posted 3 years ago #

    Sweet plugin! Just what I was looking for actually. A few things though...


    // Split Lead topic from Replies in BBpress
    add_filter( 'bbp_show_lead_topic', '__return_true');

    in BBpress splits the main topic from the replies. It also classifies the lead topic as a different post type. The first post in this scenario is called 'topic', all remaining posts on that thread are dubbed 'reply'. Because it is a different post type, this plugin does not accommodate that format, as it is coded to work with replies only. Meaning, the like button will not appear on the lead topic.

    Also, does anyone have any idea what function to call in a standard wordpress array to display a list of the most liked posts in descending order?

    I gave

    'orderby' => 'liked_post_count',

    a shot but it doesn't work, I tried several others, but I'm hoping the developer can help me out a bit here.


  2. MoniqueR
    Posted 3 years ago #

    Hai there,

    I am having exact the same problem, it is not showing in my lead topic
    (add_filter( 'bbp_show_lead_topic', '__return_true'); )


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • bbPress Like Button
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic