WPIntell

Source evidence

Shorcode for the switch button

Subaccounts for WooCommerce · support · 2025-01-23T12:14:00+00:00

mixedsentiment
mediumseverity
0.72relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 21 rows with source links

4.8% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Vitor resolved
Hello, how are you? I couldn’t find a shortcode to place the change button in another location. I need this because I’m using Yith Customize My Account Page, and the button doesn’t appear with this plugin activated! Thank you Hi @vitorcherulli , Thank you for reaching out! Could you please try to add the following snippet of code to your child theme’s functions.php file and let us know the result? function m3di4ticus_sfwc_change_user_switcher_position() { remove_action( 'woocommerce_before_account_navigation', 'sfwc_action_woocommerce_account_dashboard' ); add_action( 'woocommerce_account_navigation', 'sfwc_action_woocommerce_account_dashboard', 0 ); } add_action( 'init', 'm3di4ticus_sfwc_change_user_switcher_position' ); We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you have any other questions about the plugin, please start a new thread. Hello, how are you? It didn’t actually work! And now there’s a bigger problem, because it doesn’t appear anywhere else! Do you have any shortcodes that I can use to place it in specific places? I’ve tried accessing it through subaccounts or subaccounts/add-subaccount/ and nothing I’ve tried everything! Hi @vitorcherulli , Thanks for your update on this! I am sorry but unfortunately there is currently no shortcode for the User Switcher. If you want we can check your site, but we need you to contact us via: Dashboard → WooCommerce → Subaccounts → Contact Us.

Comments

4 shown
mediaticus 2025-01-23T15:46:00+00:00

Hi @vitorcherulli , Thank you for reaching out! Could you please try to add the following snippet of code to your child theme’s functions.php file and let us know the result? function m3di4ticus_sfwc_change_user_switcher_position() { remove_action( 'woocommerce_before_account_navigation', 'sfwc_action_woocommerce_account_dashboard' ); add_action( 'woocommerce_account_navigation', 'sfwc_action_woocommerce_account_dashboard', 0 ); } add_action( 'init', 'm3di4ticus_sfwc_change_user_switcher_position' );

mediaticus 2025-01-30T18:43:00+00:00

We haven’t heard from you in a while so I’m going to go ahead and mark this thread as resolved. If you have any other questions about the plugin, please start a new thread.

Vitor 2025-02-28T12:36:00+00:00

Hello, how are you? It didn’t actually work! And now there’s a bigger problem, because it doesn’t appear anywhere else! Do you have any shortcodes that I can use to place it in specific places? I’ve tried accessing it through subaccounts or subaccounts/add-subaccount/ and nothing I’ve tried everything!

Daniel 2025-02-28T20:52:00+00:00

Hi @vitorcherulli , Thanks for your update on this! I am sorry but unfortunately there is currently no shortcode for the User Switcher. If you want we can check your site, but we need you to contact us via: Dashboard → WooCommerce → Subaccounts → Contact Us.