Skip to:
Content
Pages
Categories
Search
Top
Bottom

wcfm marketplace plugin with buddypress (store sidebar info)


  • 2bluesweet
    Participant

    @2bluesweet

    I am using wcfm marketplace plugin with buddypress. I have a link in the store sidebar that shows the store owner (buddypress profile info). My problem is ..I don’t know how to make the link look better . I would love to add the buddypress profile avatar and place the user name under the picture. Can someone please help!!! Thus is the code that I was given.

    shortcode
    [wcfm_store_info data=”bp_url”]

    code snippet
    add_filter( ‘wcfmmp_additional_store_info’, function( $data_value, $data_info, $store_id ) {
    if( function_exists( ‘bp_core_get_user_domain’ ) && ( $data_info == ‘bp_url’ ) ) {
    $bp_url = bp_core_get_user_domain ( $store_id );
    $data_value = ‘‘.$bp_url.’‘;

    }
    return $data_value;

    }, 50, 3 );

  • You must be logged in to reply to this topic.
Skip to toolbar