Use sign up info in customers account area in WordPress?

When readers sign up for a account in our wordpress site. My team wants to use their first name they signed up with, to say Hi [firstname] welcome back!

Of course with having readers already I want their accounts to show that too. Could there be a short code or html to add?



You can use something like this from functions.php

function welcome_message_to_users() {
global $current_user;
if ( is_user_logged_in() ) {
    echo '<p>Welcome' . $current_user->display_name . '</p>';

} add_filter( 'wp_head', 'welcome_message_to_users' );

Similar questions

How to offer Paypal payment option without forcing customers to create a Paypal account?
I want to give customers possibility to pay by credit cards without creating PayPal account. It still super popular in countries like in France, they want to pay by credit card or debit card. It's critical for the business. From PayPal side it's all done: it's Business account, PayPal integral solution, everything verified, Paypal account optional ...
How to transfer Braintree customers to new account
We are taking over an ecommerce site for another customer. It's a woocommerce store. They already have Braintree payments and we need to switch to our existing braintree account. The problem is that all existing customers are tied to the old braintree account. So all existing customers are getting error 91510 You'll get this error if you create a t...
Remove cancelled WooCommerce orders from customers my account page
I had been using this answer and since WooCommerce version 2.6+, this code is not working anymore: As the old template my-orders.php is no longer used. How can I do this using the latest version of Woocommerce? Thanks. Reference: Cancelled order showing under My Account - Woocommerce
Add Cancel button on My account Orders list using Woo Cancel for Customers Plugin
In My WooCommerce website I am using this plugin WooCommerce Order Cancel for Customers which allow customers to cancel their order based on payment type and on a time delay. But the cancel button only appears on the "woocommerce_order_details_after_order_table". I would like this cancel button to appear in the "My account" > "Orders list" near the...
Customers using WooCommerce Account with external app
We would like our customers inside our WordPress WooCommerce instance to be able to authenticate using their login with an external app we are building. Looking at the WooCommerce REST API Documentation it doesn't seem it provide any methods. How else could this be achieved. My thoughts: We would much prefer for the users to be able to authenticate...
Sign into different account feature - WordPress
Before I part on this adventure to figure out how to setup a section on the users section when signed into admin panel in WordPress which allows the administrator to click the account feature and it will sign them into that users account. Does anyone know of a quick solution to accomplish this?

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy.