Home › Forums › WoodMart support forum › Help in updating login menu
Help in updating login menu
- This topic has 5 replies, 2 voices, and was last updated 1 year, 8 months ago by Elise Noromit.
-
AuthorPosts
-
June 5, 2018 at 9:28 pm #61442
iakshat05ParticipantHi,
Where can I find option to edit URL of the accounts menu. Attaching screenshot.
Thanks
Attachments:
You must be logged in to view attached files.June 6, 2018 at 6:34 am #61471
Elise NoromitMemberHello,
Thank you very much for choosing our theme and contacting the support.
The default WooCommerce does not provide any option for that. You will need to customize templates inc/template-tags.php
Best Regards
June 18, 2018 at 1:28 am #63395
iakshat05ParticipantI used remove action and hooked my own function 🙂
remove_action( 'wp_footer', 'woodmart_sidebar_login_form', 160 ); if( ! function_exists( 'my_sidebar_login_form' ) ) { function my_sidebar_login_form() { if( ! whb_is_enabled() || ! woodmart_woocommerce_installed() ) return; $settings = whb_get_settings(); $login_side = isset( $settings['account'] ) && $settings['account']['login_dropdown'] && $settings['account']['form_display'] == 'side'; $account_link = get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ); if ( ! $login_side || is_user_logged_in() ) return; ?> <div class="login-form-side"> <div class="widget-heading"> <h3 class="widget-title"><?php esc_html_e( 'Sign in', 'woodmart' ); ?></h3> <a href="#" class="close-side-widget"><?php esc_html_e( 'close', 'woodmart' ); ?></a> </div> <?php woodmart_login_form( true, $account_link ); ?> <div class="create-account-question"> <span class="create-account-text"><?php esc_html_e( 'No account yet?', 'woodmart' ); ?></span> <a href="<?php echo wp_registration_url(); ?>" class="btn btn-style-link btn-color-primary create-account-button"><?php esc_html_e( 'Create an Account', 'woodmart' ); ?></a> </div> </div> <?php } add_action( 'wp_footer', 'my_sidebar_login_form', 170 ); }
June 18, 2018 at 7:20 am #63413
Elise NoromitMemberHello,
Thanks for sharing. Perhaps it would be helpful for other users.
Best Regards
April 14, 2023 at 9:24 am #459587
socialholicwebmediaParticipanti like to change Create an Account link to my custom registration page , i using drop down login screenshot attached
Attachments:
You must be logged in to view attached files.April 15, 2023 at 2:02 am #459773
Elise NoromitMemberHello,
You can disable the drop-down in My account element of the Header builder and then create your own page.
My Account page is Woocommerce functional page and it is not editable by default.
If you have any questions please feel free to contact us.
Best Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register