Banner for Metronet Profile Picture
Set a custom profile image (avatar) for a user using the standard WordPress media upload tool. Wordpress Tutorial
Noted That:
  • To install correctly this metronet-profile-picture.zip .
  • Fisrt Download the metronet-profile-picture.zip to your computer
  • Extract/Open metronet-profile-picture.zip to Your Computer.
  • Then, Find readme.txt file inside metronet-profile-picture.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.
Start the Tips:

Step-1 : Download " metronet-profile-picture.zip " to Your Local Computer.

Step-2 : Then, Login to your " yourdomain.com/wp-admin " Dashboard.

Login to Wordpress Metronet Profile Picture

Step-3 : Then, Click on " Plugins " + " Add New " from left Side Menu of Dashboard.

Go to Plugin Install Metronet Profile Picture

Step-4 : Now, Click on " Upload Plugin " button.

Click Upload Button Metronet Profile Picture

Step-5 : Now, Browse " metronet-profile-picture.zip " Downloaded plugin from your computer, Where you downloaded " metronet-profile-picture.zip " According to Step – 1 Above then, click on " Install Now "

Upload Plugin Metronet Profile Picture

Step-6 : Now, Click on " Active Plugin "

Activate Metronet Profile Picture

Step-7 : Then, See left Side Menu. " Metronet Profile Picture " folder is added on left Side Menu. Now, Click on " Metronet Profile Picture " folder.

Noted that: If you do not see " Metronet Profile Picture " folder on left Side Menu then, see at left Side Menu " Settings " or " Tools ".

Step-8 : Now you configure yourself oR Watch video tutorial below about Metronet Profile Picture Configurations and Settings or How to work " Metronet Profile Picture " in your WordPress site.

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " User Profile Picture " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is User Profile Picture
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide
  1. Upload metronet-profile-picture folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place in your templates (arguments and usage are below)

Arguments:


/**
* mt_profile_img
*
* Adds a profile image
*
@param $user_id INT - The user ID for the user to retrieve the image for
@ param $args mixed size - string || array (see get_the_post_thumbnail) attr - string || array (see get_the_post_thumbnail) echo - bool (true or false) - whether to echo the image or return it
*/

Example Usage:



post_author; mt_profile_img( $author_id, array( 'size' =>
 'thumbnail', 'attr' =>
 array( 'alt' =>
 'Alternative Text' ), 'echo' =>
 true ) );
}
?>

Since 2.2.0, you can add a profile author box using function mt_author_box .



post_author, array( 'theme' =>
 'tabbed', 'profileAvatarShape' =>
 'round', 'showWebsite' =>
 true, 'website' =>
 'https://www.ronalfy.com', 'showSocialMedia' =>
 true, 'socialMediaOptions' =>
 'brand', 'socialWordPress' =>
 'https://profiles.wordpress.org/ronalfy', 'socialFacebook' =>
 'https://facebook.com/mindefusement',
) );

View the code on GitHub .

The REST API is currently supported for versions of WordPress 4.4 and up.


Name