• Resolved mrblade


    in the buddypress user profile page I need to show his products.
    The shortcode is:
    echo do_shortcode ('[wcv_products vendor = "USER HERE"]');
    but I can not call the username in the shortcode.
    I tried with:
    echo do_shortcode('[wcv_products vendor="'.bp_core_get_user_displayname( bp_user_fullname() ).'"]');
    without success.
    Where i wrong? any solutions?

Viewing 1 replies (of 1 total)
  • Jamie



    You need to use the username, not the display name.



Viewing 1 replies (of 1 total)
  • The topic ‘show bp member products’ is closed to new replies.