BuddyDev

Search

How to change the view with shortcode

  • Participant
    Level: Enlightened
    Posts: 30
    Casper on #15989

    I’m using the shortcode [bp-featured-members] to display featured members. It seems to be working fine. Using the shortcode option (so not as a widget) how can I change the view (list, slider, theme default). I would like to see which of the three works best, but I’m not sure if I edit the code itself, use a different code, go somewhere on the dashboard to select a different option of the three, etc. Any insight will be great, thank you!

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15990

    Hi Casper,
    Welcome to BuddyDev.

    You can use the option

    
    view="list"
    view="slider"
    view="default"
    
    

    any of these.

    For more details on the available options, please see
    https://buddydev.com/plugins/bp-featured-members/

    Hope that helps.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 30
    Casper on #15991

    Hi, thank you for your prompt response. Can you be more specific as to where I put these? So for example I have [bp-featured-members] where exactly does view=”slider” in relation to [bp-featured-members] .. thank you for your help!

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #15992

    You are welcome.

    You can use it like

    
    [bp-featured-members view="slider" ] 
    
    

    All the options go inside the shortcode brackets.

  • Participant
    Level: Enlightened
    Posts: 30
    Casper on #15993

    Okay, I see thank you.

    Also, the users photos/avatars are different sizes. Some are really big, some really small, etc. Is there anyway to get them to all be one, normal size?

  • Keymaster
    (BuddyDev Team)
    Posts: 24212
    Brajesh Singh on #16015

    Hi Casper,
    I am not sure why that would happen. It is most probably some css conflict in the theme. We do not specify different sizes.

    If you can link me to the page, I may be able to find the reason as assist you.

    Thank you
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved