New Landing How can we help? Atelier How to change the welcome text in my account page

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Atelier
  • #245082
    keysilinares
    Member
    Post count: 165

    How can I change the text in the account page? It’s just minor changes. Thank you!

    Attachments:
    You must be logged in to view attached files.
    #245204
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Go to wp-content/themes/atelier/woocommerce/myaccount/my-account.php and edit this code:

    <p class="myaccount_user">
    	<?php
    	printf(
    		__( 'Hello <strong>%1$s</strong> (not %1$s? <a href="%2$s">Sign out</a>).', 'swiftframework' ) . ' ',
    		$current_user->display_name,
    		wp_logout_url( get_permalink( wc_get_page_id( 'myaccount' ) ) )
    	);
    
    	printf( __( 'From your account dashboard you can view your recent orders, manage your shipping and billing addresses and <a href="%s">edit your password and account details</a>.', 'swiftframework' ),
    		wc_customer_edit_account_url()
    	);
    	?>
    </p>

    – Kyle

    #245230
    keysilinares
    Member
    Post count: 165

    Thank you. I’m not too familiar with php. How can I make it so that it looks like this (see attached)? I want a break after the hello ‘visitor’ message. I just need the code and I’ll copy and paste it myself 🙂

    Attachments:
    You must be logged in to view attached files.
    #245235
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Here:

    <p class="myaccount_user">
    	<?php
    	printf(
    		__( '<strong>Hello %1$s (not %1$s? <a href="%2$s">Sign out</a>).</strong><br/>', 'swiftframework' ) . ' ',
    		$current_user->display_name,
    		wp_logout_url( get_permalink( wc_get_page_id( 'myaccount' ) ) )
    	);
    
    	printf( __( 'From your account dashboard you have the ability to view a snapshot of your recent account activity and <a href="%s">update your account information</a>. Select a link below to view or edit information.', 'swiftframework' ),
    		wc_customer_edit_account_url()
    	);
    	?>
    </p>

    – Kyle

    #245236
    keysilinares
    Member
    Post count: 165

    Also, is there any way for me to get my account dashboard to look like this (see attached)? As of now, I don’t have that.

    Attachments:
    You must be logged in to view attached files.
    #245239
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m afraid not without major customisation

    – Kyle

    #245246
    keysilinares
    Member
    Post count: 165

    Got it. Thanks! Who would you recommend for those types of customizations?

    #245247
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Have a look on

    https://codeable.io

    Home


    http://www.microlancer.com

    Hope that helps.

    – Kyle

    #245249
    keysilinares
    Member
    Post count: 165

    Thank you!

    #245251
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register