Skip to:
Content
Pages
Categories
Search
Top
Bottom

Does this work with bp_the_topic_latest_post_excerpt()?

  • Avatar of defunctlife
    defunctlife
    Participant

    @defunctlife

    When we list our forums, we show the excerpt in our list (unlike the default theme and buddypress.org) but this doesn’t appear to replace it with an embed.

    Should it be working or is this feature not included in the plugin?

    Thank you

    Using Beta-0.6

Viewing 1 replies (of 1 total)
  • Avatar of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Hi, sorry for the late reply.

    Current iteration of the plugin doesn’t include support for topic excerpts. You can probably add support yourself by applying the oEmbed function to the topic excerpt filter.

    `add_filter( ‘bp_get_the_topic_latest_post_excerpt’, ‘ray_bp_oembed’ );`

    I should let you know that I’m in the process of restructuring the plugin so the above code will be valid for now, but will probably break in the next beta / release candidate.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.