Support » Plugin: bbp style pack » Display role

  • Resolved titis14


    Hello Robin in the WP User Manager plugin and on the profile page of the user I would like to display his role created in BBP Style Pack.
    What code would that allow me?
    I would like to add it in place of the description.
    Thanks to you.

    	<div class="user">
    		<h3><a href="<?php echo wpum_get_user_profile_url( $user ); ?>"><?php echo $user->first_name; ?></a></h3>
    		<div class="description">
    			<?php if ( $trimmed_description ) : ?>
    				<small class="tagline"><?php echo $trimmed_description; ?></small>
    			<?php else : ?>
    				<small class="tagline"><?php _e( 'This user has not provided a description yet.', 'wpum' ); ?></small>
    			<?php endif; ?>
    • This topic was modified 2 years, 11 months ago by titis14.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Robin W


    so is the code above the code that you would like to replace with the bbp style pack role?

    and just the name, or the styling as well ?

    Hi Robin
    Yes I would like to view the role created in bbp style pack with the name and style as the image below.

    Thank you

    Plugin Author Robin W


    ok, I’ve added a function


    to version 3.5.4 which you can use to display the bsp roles.

    Oh thanks, you have to change your plugin just me.
    Thank you very much Robin.

    Plugin Author Robin W


    I thought it was a useful addition !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Display role’ is closed to new replies.