BuddyDev

Search

[Resolved] Buddypress field shortcode

  • Participant
    Level: Initiated
    Posts: 8
    Jean-Philippe on #32524

    Hello,

    I’m using youzer plugins. I’m trying to create some widgets and fill them with buddypress fields.
    For example, I have created a field ’personality’ in buddypress and I would like to catch the content of this field to feed a custom widget in youzer. Is there a way to do it?
    Are there some ways to get a shortcode for any field created in buddypress in the aim to display their content?

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #32526

    Hi Jean Philippe,
    Thank you for the question.

    We are unable to provide any assistance that needs Youzer integration.

    If you need a shortcode that fetches user’s detail, then sure I can supply the shortcode.

    Please let me know if that works for you.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    Jean-Philippe on #32527

    Yes! Shortcodes will be very useful for me.
    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #32529

    Please give it a shot

    https://wordpress.org/plugins/bp-profile-shortcodes-extra/

    It has a shortcode

    
    [bpps_profile_field field="Name Of the field" user_id="2"]
    

    Which should work for you.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 8
    Jean-Philippe on #32537

    Great something like that I was looking for.

    Thanks a lot, It works good for me.

  • Keymaster
    (BuddyDev Team)
    Posts: 24706
    Brajesh Singh on #32552

    You are welcome. I am glad it suited your needs.

    Regards
    Brajesh

The topic ‘ [Resolved] Buddypress field shortcode’ is closed to new replies.

This topic is: resolved