Skip to:
Content
Pages
Categories
Search
Top
Bottom

Facebook/Twitter buttons for the Topics index (buttons for each topic)


  • Rami
    Participant

    @ramirocastro

    Hello guys,

    WHAT I WOULD LIKE TO DO 🙂
    =======================

    Add facebook/twitter buttons in the [bbp-topic-index] (for each topic in the table) and then in the topic itself (when you are reading the topic, let’s say above the title)

    WHAT I TRIED WITH NO SUCCESS 🙁
    ============================

    e.g. I embedded the facebook in loop-topics.php (quite don’t remember the file name, it’s the one doing the topics index) and the buttons are correctly positioned for each topic, but the TOPIC SHOWS THE PAGE SOCIAL COUNT, in other words, each topic in the index shows the same count, the page count.

    HELP! – hooks? guides? example?
    ================================

    I read in other post (tags jetpack social?) a mention from John (bbPress) about hooking bbp_get_topic_content and bbp_get_reply_content, I have no idea what does hook mean. Has anybody implemented social buttons or could guide us on what to explore to do it ourselves?

    That would be amazing for many.

    cheers
    Ramiro.

Viewing 1 replies (of 1 total)

  • Rami
    Participant

    @ramirocastro

    Got it again, sorry guys, I see that ‘hooking’ and those bbp_…. are the ones you can call through functions.php

    Playing right now with bbp_get_topic_content, and it seems to add content to the topic, just have to play with it to try the social buttons (hopefully the social count will be related to the topic, not the page)

    cheers
    Ramiro

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar