dashboard.php overide not working
-
Hi there,
I am stuck on an issue with my woocommerce account dashboard.
The account endpoint ‘payment methods’ does not show up in the woocommerce account tabbed menu. We want it to show up.
I have added
esc_url( wc_get_endpoint_url( 'payment-methods' ) )
to the below lines of dashboard.php and uploaded it to /public_html/wp-content/themes/Avada-Child-Theme/woocommerce/my-accountprintf( __( 'From your account dashboard you can view your <a href="%1$s">recent orders</a>, manage your <a href="%2$s">shipping and billing addresses</a>, and <a href="%3$s">edit your password and account details</a>.', 'woocommerce' ), esc_url( wc_get_endpoint_url( 'orders' ) ), esc_url( wc_get_endpoint_url( 'edit-address' ) ), esc_url( wc_get_endpoint_url( 'edit-account' ) ) ); ?> </p>
I have added the following to functions.php in my child theme
function mytheme_add_woocommerce_support() { add_theme_support( 'woocommerce' ); } add_action( 'after_setup_theme', 'mytheme_add_woocommerce_support' );
Am I missing something? Any help would be appreciated – thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘dashboard.php overide not working’ is closed to new replies.