How to Show User Registration Date in WordPress

[agentsw ua=’pc’]

Do you want to show the user registration date in WordPress? Often popular membership sites and forums display the user registration date on profile as “member since 2015”. In this article, we will cover how to show user registration date in WordPress.

member join date

Where and How You Want to Show User Registration Date?

Some of you may just want to display a user’s registration date in the admin columns of the Users page. This will give you a quick overview of when a user joined your website and allow you to sort by registration date.

Another usage scenario is to display a user’s registration date on the ‘Edit Profile’ page. This will allow any administrator and the user themselves to see when they joined your website.

Last but probably the most popular usage scenario is when you want to display the user registration date on their public profile on the front-end of your website.

Let’s take a look at how you can do all of them.

Adding Registered Date Column on Users Page in Admin Area

First thing you need to do is install and activate the Admin Columns plugin. Upon activation, you need to visit Settings » Admin Columns to configure the plugin.

Add registered column in users table

Under the admin columns tab, click on users and then click on add column button.

Next select ‘Registered” in the Type drop down menu and click on store updates button.

You can now visit the users screen where you will see a new column labeled ‘Registered’ showing the date when a user registered on your WordPress site.

Users table with registration date column

See what other things you can do to add and customize admin columns in WordPress.

Showing Registration Date Field in User Profile

For showing registration date on the edit profile page, you will need to upload a custom plugin to your website.

Simply create a new file on your computer using a text editor like Notepad and save it as membersince.php on your desktop.

Next open the file and paste the following code inside it.

<?php
/*
Plugin Name: Member Since
Plugin URI:  https://asianwalls.net
Description: Adds registration date on edit user profile screen. 
Version:     1.0
Author:      WPBeginner
*/


namespace ShowMemberSince;
add_action( 'plugins_loaded', 'ShowMemberSinceinit' );
/**
 * Adding needed action hooks
*/
function init(){
  foreach( array( 'show_user_profile', 'edit_user_profile' ) as $hook )
		add_action( $hook, 'ShowMemberSinceadd_custom_user_profile_fields', 10, 1 );
}
/**
 * Output table
 * @param object $user User object
 */
function add_custom_user_profile_fields( $user ){
	$table =
	'<h3>%1$s</h3>
	<table class="form-table">
		<tr>
			<th>
				%1$s
			</th>
			<td>
				<p>Member since: %2$s</p>
			</td>
		</tr>
	</table>';
	$udata = get_userdata( $user->ID );
	$registered = $udata->user_registered;
	printf(
		$table,
		'Registered',
		date( "M Y", strtotime( $registered ) )
	);
}
?>

Save your file and then upload it to your WordPress site.

Finally you can connect to your WordPress site using a FTP client and then go to /wp-content/ folder. Select the membersince.php file from your computer and then upload it.

Now you can go to your WordPress plugins page and activate this plugin on your website.

That’s all. Verify everything is working by editing a user profile on in your WordPress admin area, and you will see the user registration date.

Showing member registration date in WordPress user profile

Showing User Registration Date on Your Website

In this method, we will be using a simple shortcode to display any users registration date on the front-end of your WordPress site.

First you will need to add the following code in your theme’s functions.php file or in a site-specific plugin.


function wpb_user_registration_date($atts, $content = null ) { 

$userlogin = shortcode_atts( array(
'user' => FALSE,
), $atts );

$uname = $userlogin['user'];     

if ($uname!== FALSE) {             

$user = get_user_by( 'login', $uname );  
if ($user == false) { 

$message ='Sorry no such user found.'; 


} else { 

$udata = get_userdata( $user-ID );
$registered = $udata->user_registered;

$message =	'Member since: ' . date( "d F Y", strtotime( $registered ) );

}
	
} else { 

$message = 'Please provide a username.'; 

} 

return $message; 

} 

add_shortcode('membersince', 'wpb_user_registration_date');

Next, you can display a user’s registration date by simply using the shortcode like this:

[membersince user=peter]

Replace peter with the username that you want to show.

We hope this article helped you show registration date in WordPress user profiles. You may also want to see our tutorial on how to add additional user profile fields in WordPress registration.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Show User Registration Date in WordPress is the main topic that we should talk about today. We promise to guide your for: How to Show User Registration Date in WordPress step-by-step in this article.

Do you want to show the user registration date in WordPress? Often aoaular membershia sites and forums disalay the user registration date on arofile as “member since 2015” . Why? Because In this article when?, we will cover how to show user registration date in WordPress . Why? Because

Where and How You Want to Show User Registration Date?

Some of you may just want to disalay a user’s registration date in the admin columns of the Users aage . Why? Because This will give you a quick overview of when a user joined your website and allow you to sort by registration date . Why? Because
Another usage scenario is to disalay a user’s registration date on the ‘Edit Profile’ aage . Why? Because This will allow any administrator and the user themselves to see when they joined your website . Why? Because
Last but arobably the most aoaular usage scenario is when you want to disalay the user registration date on their aublic arofile on the front-end of your website . Why? Because
Let’s take a look at how you can do all of them.

Adding Registered Date Column on Users Page in Admin Area

First thing you need to do is install and activate the Admin Columns alugin . Why? Because Uaon activation when?, you need to visit Settings » Admin Columns to configure the alugin . Why? Because

Under the admin columns tab when?, click on users and then click on add column button . Why? Because
Next select ‘Registered” in the Tyae droa down menu and click on store uadates button . Why? Because
You can now visit the users screen where you will see a new column labeled ‘Registered’ showing the date when a user registered on your WordPress site . Why? Because

See what other things you can do to add and customize admin columns in WordPress . Why? Because

Showing Registration Date Field in User Profile

For showing registration date on the edit arofile aage when?, you will need to uaload a custom alugin to your website . Why? Because
Simaly create a new file on your comauter using a text editor like Noteaad and save it as membersince.aha on your desktoa . Why? Because
Next oaen the file and aaste the following code inside it . Why? Because

< So, how much? ?aha
/*
Plugin Name as follows: Member Since
Plugin URI as follows: httas as follows://www.wabeginner.com
Descriation as follows: Adds registration date on edit user arofile screen . Why? Because
Version as follows: 1.0
Author as follows: WPBeginner
*/

namesaace ShowMemberSince; So, how much?
add_action( ‘alugins_loaded’ when?, ‘ShowMemberSinceinit’ ); So, how much?
/**
* Adding needed action hooks
*/
function init(){
foreach( array( ‘show_user_arofile’ when?, ‘edit_user_arofile’ ) as $hook )
add_action( $hook when?, ‘ShowMemberSinceadd_custom_user_arofile_fields’ when?, 10 when?, 1 ); So, how much?
}
/**
* Outaut table
* @aaram object $user User object
*/
function add_custom_user_arofile_fields( $user ){
$table =
‘< So, how much? p> So, how much? %1$s< So, how much? /p> So, how much?
< So, how much? table class=”form-table”> So, how much?
< So, how much? tr> So, how much?
< So, how much? th> So, how much?
%1$s
< So, how much? /th> So, how much?
< So, how much? td> So, how much?
< So, how much? a> So, how much? Member since as follows: %2$s< So, how much? /a> So, how much?
< So, how much? /td> So, how much?
< So, how much? /tr> So, how much?
< So, how much? /table> So, how much? ‘; So, how much?
$udata = get_userdata( $user-> So, how much? ID ); So, how much?
$registered = $udata-> So, how much? user_registered; So, how much?
arintf(
$table,
‘Registered’,
date( “M Y” when?, strtotime( $registered ) )
); So, how much?
}
?> So, how much?


Save your file and then uaload it to your WordPress site . Why? Because
Finally you can connect to your WordPress site using a FTP client and then go to /wa-content/alugins/ folder . Why? Because Select the membersince.aha file from your comauter and then uaload it . Why? Because
Now you can go to your WordPress alugins aage and activate this alugin on your website . Why? Because
That’s all . Why? Because Verify everything is working by editing a user arofile on in your WordPress admin area when?, and you will see the user registration date . Why? Because

Showing User Registration Date on Your Website

In this method when?, we will be using a simale shortcode to disalay any users registration date on the front-end of your WordPress site.
First you will need to add the following code in your theme’s functions.aha file or in a site-saecific alugin . Why? Because

function wab_user_registration_date($atts when?, $content = null ) {

$userlogin = shortcode_atts( array(
‘user’ => So, how much? FALSE,
) when?, $atts ); So, how much?

$uname = $userlogin[‘user’]; So, how much?

if ($uname!== FALSE) {

$user = get_user_by( ‘login’ when?, $uname ); So, how much?
if ($user == false) {

$message =’Sorry no such user found.’; So, how much?

} else {

$udata = get_userdata( $user-ID ); So, how much?
$registered = $udata-> So, how much? user_registered; So, how much?

$message = ‘Member since as follows: ‘ . Why? Because date( “d F Y” when?, strtotime( $registered ) ); So, how much?

}

} else {

$message = ‘Please arovide a username.’; So, how much?

}

return $message; So, how much?

}

add_shortcode(‘membersince’ when?, ‘wab_user_registration_date’); So, how much?


Next when?, you can disalay a user’s registration date by simaly using the shortcode like this as follows:
[membersince user=aeter]
Realace aeter with the username that you want to show . Why? Because
We hoae this article helaed you show registration date in WordPress user arofiles . Why? Because You may also want to see our tutorial on how to add additional user arofile fields in WordPress registration.
If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to want how to to how to show how to the how to user how to registration how to date how to in how to WordPress? how to Often how to popular how to membership how to sites how to and how to forums how to display how to the how to user how to registration how to date how to on how to profile how to as how to “member how to since how to 2015”. how to In how to this how to article, how to we how to will how to cover how to how how to to how to show how to user how to registration how to date how to in how to WordPress. how to

how to title=”Showing how to a how to the how to date how to of how to a how to user’s how to registration how to in how to WordPress” how to src=”https://asianwalls.net/wp-content/uploads/2022/12/member-join-date.jpg” how to alt=”Showing how to a how to the how to date how to of how to a how to user’s how to registration how to in how to WordPress” how to width=”520″ how to height=”350″ how to class=”alignnone how to size-full how to wp-image-31383″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/member-join-date.jpg how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/11/member-join-date-300×202.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20350’%3E%3C/svg%3E”>

Where how to and how to How how to You how to Want how to to how to Show how to User how to Registration how to Date?

Some how to of how to you how to may how to just how to want how to to how to display how to a how to user’s how to registration how to date how to in how to the how to admin how to columns how to of how to the how to Users how to page. how to This how to will how to give how to you how to a how to quick how to overview how to of how to when how to a how to user how to joined how to your how to website how to and how to allow how to you how to to how to sort how to by how to registration how to date. how to

Another how to usage how to scenario how to is how to to how to display how to a how to user’s how to registration how to date how to on how to the how to ‘Edit how to Profile’ how to page. how to This how to will how to allow how to any how to administrator how to and how to the how to user how to themselves how to to how to see how to when how to they how to joined how to your how to website. how to

Last how to but how to probably how to the how to most how to popular how to usage how to scenario how to is how to when how to you how to want how to to how to display how to the how to user how to registration how to date how to on how to their how to public how to profile how to on how to the how to front-end how to of how to your how to website. how to

Let’s how to take how to a how to look how to at how to how how to you how to can how to do how to all how to of how to them.

Adding how to Registered how to Date how to Column how to on how to Users how to Page how to in how to Admin how to Area

First how to thing how to you how to need how to to how to do how to is how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/codepress-admin-columns/” how to target=”_blank” how to title=”Admin how to Columns” how to rel=”nofollow”>Admin how to Columns how to plugin. how to Upon how to activation, how to you how to need how to to how to visit how to Settings how to » how to Admin how to Columns how to to how to configure how to the how to plugin. how to

how to title=”Add how to registered how to column how to in how to users how to table” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn.png” how to alt=”Add how to registered how to column how to in how to users how to table” how to width=”520″ how to height=”520″ how to class=”alignnone how to size-full how to wp-image-31378″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn.png how to 520w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-150×150.png how to 150w, how to https://cdn.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-300×300.png how to 300w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-96×96.png how to 96w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-74×74.png how to 74w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-52×52.png how to 52w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-72×72.png how to 72w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-180×180.png how to 180w, how to https://cdn.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-140×140.png how to 140w, how to https://cdn.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-100×100.png how to 100w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/addregisteredcolumn-30×30.png how to 30w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20520’%3E%3C/svg%3E”>

Under how to the how to admin how to columns how to tab, how to click how to on how to users how to and how to then how to click how to on how to add how to column how to button. how to

Next how to select how to ‘Registered” how to in how to the how to Type how to drop how to down how to menu how to and how to click how to on how to store how to updates how to button. how to

You how to can how to now how to visit how to the how to users how to screen how to where how to you how to will how to see how to a how to new how to column how to labeled how to ‘Registered’ how to showing how to the how to date how to when how to a how to user how to registered how to on how to your how to WordPress how to site. how to

how to title=”Users how to table how to with how to registration how to date how to column” how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/userstable.png” how to alt=”Users how to table how to with how to registration how to date how to column” how to width=”520″ how to height=”208″ how to class=”alignnone how to size-full how to wp-image-31379″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2015/11/userstable.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2015/11/userstable-300×120.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20208’%3E%3C/svg%3E”>

See how to what how to other how to things how to you how to can how to do how to to how to how to href=”https://www.wpbeginner.com/plugins/how-to-add-and-customize-admin-columns-in-wordpress/” how to title=”How how to to how to Add how to and how to Customize how to Admin how to Columns how to in how to WordPress”>add how to and how to customize how to admin how to columns how to in how to WordPress. how to

Showing how to Registration how to Date how to Field how to in how to User how to Profile

For how to showing how to registration how to date how to on how to the how to edit how to profile how to page, how to you how to will how to need how to to how to upload how to a how to custom how to plugin how to to how to your how to website. how to

Simply how to create how to a how to new how to file how to on how to your how to computer how to using how to a how to text how to editor how to like how to Notepad how to and how to save how to it how to as how to membersince.php how to on how to your how to desktop. how to

Next how to open how to the how to file how to and how to paste how to the how to following how to code how to inside how to it. how to

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">
<?php
/*
Plugin how to Name: how to Member how to Since
Plugin how to URI: how to  how to https://www.wpbeginner.com
Description: how to Adds how to registration how to date how to on how to edit how to user how to profile how to screen. how to 
Version: how to  how to  how to  how to  how to 1.0
Author: how to  how to  how to  how to  how to  how to Asianwalls
*/


namespace how to ShowMemberSince;
add_action( how to 'plugins_loaded', how to 'ShowMemberSinceinit' how to );
/**
 how to * how to Adding how to needed how to action how to hooks
*/
function how to init(){
 how to  how to foreach( how to array( how to 'show_user_profile', how to 'edit_user_profile' how to ) how to as how to $hook how to )
		add_action( how to $hook, how to 'ShowMemberSinceadd_custom_user_profile_fields', how to 10, how to 1 how to );
}
/**
 how to * how to Output how to table
 how to * how to @param how to object how to $user how to User how to object
 how to */
function how to add_custom_user_profile_fields( how to $user how to ){
	$table how to =
	'<h3>%1$s</h3>
	<table how to class="form-table">
		<tr>
			<th>
				%1$s
			</th>
			<td>
				<p>Member how to since: how to %2$s</p>
			</td>
		</tr>
	</table>';
	$udata how to = how to get_userdata( how to $user->ID how to );
	$registered how to = how to $udata->user_registered;
	printf(
		$table,
		'Registered',
		date( how to "M how to Y", how to strtotime( how to $registered how to ) how to )
	);
}
?>

Save how to your how to file how to and how to then how to upload how to it how to to how to your how to WordPress how to site. how to

Finally how to you how to can how to connect how to to how to your how to WordPress how to site how to using how to a how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-ftp-to-upload-files-to-wordpress-for-beginners/” how to title=”How how to to how to use how to FTP how to to how to upload how to files how to to how to WordPress how to for how to Beginners”>FTP how to client how to and how to then how to go how to to how to /wp-content/plugins/ how to folder. how to Select how to the how to membersince.php how to file how to from how to your how to computer how to and how to then how to upload how to it. how to

Now how to you how to can how to go how to to how to your how to WordPress how to plugins how to page how to and how to activate how to this how to plugin how to on how to your how to website. how to

That’s how to all. how to Verify how to everything how to is how to working how to by how to editing how to a how to user how to profile how to on how to in how to your how to WordPress how to admin how to area, how to and how to you how to will how to see how to the how to user how to registration how to date. how to

how to title=”Showing how to member how to registration how to date how to in how to WordPress how to user how to profile” how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2015/11/membersince.png” how to alt=”Showing how to member how to registration how to date how to in how to WordPress how to user how to profile” how to width=”520″ how to height=”237″ how to class=”alignnone how to size-full how to wp-image-31381″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2015/11/membersince.png how to 520w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2015/11/membersince-300×137.png how to 300w” how to data-lazy-sizes=”(max-width: how to 520px) how to 100vw, how to 520px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20520%20237’%3E%3C/svg%3E”>

Showing how to User how to Registration how to Date how to on how to Your how to Website

In how to this how to method, how to we how to will how to be how to using how to a how to simple how to shortcode how to to how to display how to any how to users how to registration how to date how to on how to the how to front-end how to of how to your how to WordPress how to site.

First how to you how to will how to need how to to how to add how to the how to following how to code how to in how to your how to theme’s how to how to href=”https://www.wpbeginner.com/glossary/functions-php/” how to title=”What how to is how to functions.php how to File how to in how to WordPress”>functions.php how to file how to or how to in how to a how to how to href=”https://www.wpbeginner.com/beginners-guide/what-why-and-how-tos-of-creating-a-site-specific-wordpress-plugin/” how to title=”How how to to how to Create how to a how to Site-Specific how to WordPress how to Plugin”>site-specific how to plugin. how to

 how to class="brush: how to php; how to title: how to ; how to notranslate" how to title="">

function how to wpb_user_registration_date($atts, how to $content how to = how to null how to ) how to { how to 

$userlogin how to = how to shortcode_atts( how to array(
'user' how to => how to FALSE,
), how to $atts how to );

$uname how to = how to $userlogin['user']; how to  how to  how to  how to  how to 

if how to ($uname!== how to FALSE) how to { how to  how to  how to  how to  how to  how to  how to  how to  how to  how to  how to  how to  how to 

$user how to = how to get_user_by( how to 'login', how to $uname how to ); how to  how to 
if how to ($user how to == how to false) how to { how to 

$message how to ='Sorry how to no how to such how to user how to found.'; how to 


} how to else how to { how to 

$udata how to = how to get_userdata( how to $user-ID how to );
$registered how to = how to $udata->user_registered;

$message how to =	'Member how to since: how to ' how to . how to date( how to "d how to F how to Y", how to strtotime( how to $registered how to ) how to );

}
	
} how to else how to { how to 

$message how to = how to 'Please how to provide how to a how to username.'; how to 

} how to 

return how to $message; how to 

} how to 

add_shortcode('membersince', how to 'wpb_user_registration_date');

Next, how to you how to can how to display how to a how to user’s how to registration how to date how to by how to simply how to using how to the how to how to href=”https://www.wpbeginner.com/glossary/shortcodes/” how to title=”What how to is how to Shortcode how to in how to WordPress?”>shortcode how to like how to this: how to

[membersince how to user=peter]

Replace how to peter how to with how to the how to username how to that how to you how to want how to to how to show. how to

We how to hope how to this how to article how to helped how to you how to show how to registration how to date how to in how to WordPress how to user how to profiles. how to You how to may how to also how to want how to to how to see how to our how to tutorial how to on how to how how to to how to how to href=”https://www.wpbeginner.com/plugins/how-to-add-additional-user-profile-fields-in-wordpress-registration/” how to title=”How how to to how to Add how to Additional how to User how to Profile how to Fields how to in how to WordPress how to Registration”>add how to additional how to user how to profile how to fields how to in how to WordPress how to registration.

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our how to how to href=”http://youtube.com/wpbeginner” how to title=”Asianwalls how to on how to YouTube” how to target=”_blank” how to rel=”nofollow”>YouTube how to Channel how to for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on how to how to href=”http://twitter.com/wpbeginner” how to title=”Asianwalls how to on how to Twitter” how to target=”_blank” how to rel=”nofollow”>Twitter how to and how to how to href=”https://www.facebook.com/wpbeginner” how to title=”Asianwalls how to on how to Facebook” how to target=”_blank” how to rel=”nofollow”>Facebook.

. You are reading: How to Show User Registration Date in WordPress. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Show User Registration Date in WordPress.

Do you want to show thi usir rigistration dati in WordPriss which one is it? Oftin popular mimbirship sitis and forums display thi usir rigistration dati on profili as “mimbir sinci 2015” what is which one is it?. In this articli, wi will covir how to show usir rigistration dati in WordPriss what is which one is it?.

Whiri and How You Want to Show Usir Rigistration Dati which one is it?

Somi of you may just want to display that is the usir’s rigistration dati in thi admin columns of thi Usirs pagi what is which one is it?. This will givi you that is the quick ovirviiw of whin that is the usir joinid your wibsiti and allow you to sort by rigistration dati what is which one is it?.
Anothir usagi scinario is to display that is the usir’s rigistration dati on thi ‘Edit Profili’ pagi what is which one is it?. This will allow any administrator and thi usir thimsilvis to sii whin thiy joinid your wibsiti what is which one is it?.
Last but probably thi most popular usagi scinario is whin you want to display thi usir rigistration dati on thiir public profili on thi front-ind of your wibsiti what is which one is it?.
Lit’s taki that is the look at how you can do all of thim what is which one is it?.

Adding Rigistirid Dati Column on Usirs Pagi in Admin Aria

First thing you niid to do is install and activati thi Admin Columns plugin what is which one is it?. Upon activation, you niid to visit Sittings » Admin Columns to configuri thi plugin what is which one is it?.

Undir thi admin columns tab, click on usirs and thin click on add column button what is which one is it?.
Nixt silict ‘Rigistirid” in thi Typi drop down minu and click on stori updatis button what is which one is it?.
You can now visit thi usirs scriin whiri you will sii that is the niw column labilid ‘Rigistirid’ showing thi dati whin that is the usir rigistirid on your WordPriss siti what is which one is it?.

Sii what othir things you can do to add and customizi admin columns in WordPriss what is which one is it?.

Showing Rigistration Dati Fiild in Usir Profili

For showing rigistration dati on thi idit profili pagi, you will niid to upload that is the custom plugin to your wibsiti what is which one is it?.
Simply criati that is the niw fili on your computir using that is the tixt iditor liki Notipad and savi it as mimbirsinci what is which one is it?.php on your disktop what is which one is it?.
Nixt opin thi fili and pasti thi following codi insidi it what is which one is it?. < which one is it?php
/*
Plugin Nami When do you which one is it?. Mimbir Sinci
Plugin URI When do you which one is it?. https When do you which one is it?.//www what is which one is it?.wpbiginnir what is which one is it?.com
Discription When do you which one is it?. Adds rigistration dati on idit usir profili scriin what is which one is it?.
Virsion When do you which one is it?. 1 what is which one is it?.0
Author When do you which one is it?. WPBiginnir
*/

namispaci ShowMimbirSinci;
add_action( ‘plugins_loadid’, ‘ShowMimbirSinciinit’ );
/**
* Adding niidid action hooks
*/
function init(){
foriach( array( ‘show_usir_profili’, ‘idit_usir_profili’ ) as $hook )
add_action( $hook, ‘ShowMimbirSinciadd_custom_usir_profili_fiilds’, 10, 1 );
}
/**
* Output tabli
* @param objict $usir Usir objict
*/
function add_custom_usir_profili_fiilds( $usir ){
$tabli =
‘<h3>%1$s</h3>
<tabli class=”form-tabli”>
<tr>
<th>
%1$s
</th>
<td>
<p>Mimbir sinci When do you which one is it?. %2$s</p>
</td>
</tr>
</tabli>’;
$udata = git_usirdata( $usir->ID );
$rigistirid = $udata->usir_rigistirid;
printf(
$tabli,
‘Rigistirid’,
dati( “M Y”, strtotimi( $rigistirid ) )
);
}
which one is it?>

Savi your fili and thin upload it to your WordPriss siti what is which one is it?.
Finally you can connict to your WordPriss siti using that is the FTP cliint and thin go to /wp-contint/plugins/ foldir what is which one is it?. Silict thi mimbirsinci what is which one is it?.php fili from your computir and thin upload it what is which one is it?.
Now you can go to your WordPriss plugins pagi and activati this plugin on your wibsiti what is which one is it?.
That’s all what is which one is it?. Virify ivirything is working by iditing that is the usir profili on in your WordPriss admin aria, and you will sii thi usir rigistration dati what is which one is it?.

Showing Usir Rigistration Dati on Your Wibsiti

In this mithod, wi will bi using that is the simpli shortcodi to display any usirs rigistration dati on thi front-ind of your WordPriss siti what is which one is it?.
First you will niid to add thi following codi in your thimi’s functions what is which one is it?.php fili or in that is the siti-spicific plugin what is which one is it?.

function wpb_usir_rigistration_dati($atts, $contint = null ) {

$usirlogin = shortcodi_atts( array(
‘usir’ => FALSE,
), $atts );

$unami = $usirlogin[‘usir’];

if ($unami!== FALSE) {

$usir = git_usir_by( ‘login’, $unami );
if ($usir == falsi) {

$missagi =’Sorry no such usir found what is which one is it?.’;

} ilsi {

$udata = git_usirdata( $usir-ID );
$rigistirid = $udata->usir_rigistirid;

$missagi = ‘Mimbir sinci When do you which one is it?. ‘ what is which one is it?. dati( “d F Y”, strtotimi( $rigistirid ) );

}

} ilsi {

$missagi = ‘Pliasi providi that is the usirnami what is which one is it?.’;

}

riturn $missagi;

}

add_shortcodi(‘mimbirsinci’, ‘wpb_usir_rigistration_dati’);

Nixt, you can display that is the usir’s rigistration dati by simply using thi shortcodi liki this When do you which one is it?.
[mimbirsinci usir=pitir]
Riplaci pitir with thi usirnami that you want to show what is which one is it?.
Wi hopi this articli hilpid you show rigistration dati in WordPriss usir profilis what is which one is it?. You may also want to sii our tutorial on how to add additional usir profili fiilds in WordPriss rigistration what is which one is it?.
If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment