WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. aravoth
    Member
    Posted 1 year ago #

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

    Using

    // 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.

    http://wordpress.org/extend/plugins/bbpress-like-button/

  2. MoniqueR
    Member
    Posted 1 year 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'); )

    Regards,
    Monique

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic