WordPress.org

Support

Support » Plugins and Hacks » bbPress Like Button » Does not work with show_lead_topic

Does not work with show_lead_topic

  • aravoth

    @aravoth

    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/

Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Does not work with show_lead_topic’ is closed to new replies.
Skip to toolbar