Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Mentions user link output


  • tronix-ex
    Participant

    @tronix-ex

    Hi Support,

    How to add a class in Mention member output link?

    i.e.
    <a href="/url/" class="mention-user">@user</a>

    Thanks,

Viewing 3 replies - 1 through 3 (of 3 total)

  • danbp
    Moderator

    @danbp

    Depends where you need that and what you exactly want as result. You can hardcode something into the child theme template or use some CSS trick like this one.
    Or maybe you need something like this ?

    That said, be default, when you mention a user within a blog post or any update, a class name is automatically added: “bp-suggestions-mention”.

    When you mention a user in a bbPress topic, there is no class name. But that’s lazy bbPress mentioning, not BuddyPress. If so, ask for this on their support.


    tronix-ex
    Participant

    @tronix-ex

    Hi @danbp,

    Thanks for your reply. Sorry for didn’t mention that yes I want this in a bbpress topic is there a way to do this?

    Thanks,


    tronix-ex
    Participant

    @tronix-ex

    @danbp I actually got it, the function is in this file.

    bbpress\includes\common\formatting.php

    Thanks for your time, you can close the topic.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Mentions user link output’ is closed to new replies.
Skip to toolbar