$ composer require inc2734/wp-profile-box
<?php
new \Inc2734\WP_Profile_Box\Bootstrap();
// shortcode
[wp_profile_box title="(Optional)" user_id="(Optional)"]
The profile box don't have styles. So you need create CSS for this.
- X
- YouTube
- WordPress
- Tumblr
- amazon
- LINE
/**
* Customize sns accounts
*
* @param $accounts array
* @return array
*/
add_filter(
'inc2734_wp_profile_box_sns_accounts',
function( $accounts ) {
return $accounts;
}
);
/**
* Customizer avatar size
*
* @param $size
* @return $size
*/
add_filter(
'inc2734_wp_profile_box_avatar_size',
function( $size ) {
return $size;
}
);