Home › Forums › Themes Support › Claue › “Size Guide” and “Delivery & Return” od product page
- This topic has 4 replies, 2 voices, and was last updated 4 years, 8 months ago by Harry.
-
AuthorPosts
-
-
March 25, 2020 at 5:22 am #35612anonim87229Support Expired
Hello,
Where to edit title and content of “Size Guide” and “Delivery & Return” od product page on your theme?
How to add one one more “tab” like this in the same row?
Thank you.
-
March 25, 2020 at 9:43 am #35614HarrySupport Expired
Hi,
1. Please install plugin Loco translate and go to Loco > themes > claue > your language find string and change the title as you want.
2. To change content, please go to Claue > Theme Option > WooCommerce > Product Detail Settings
3. Please go to Dashboard > Custom Products Tab and Create New Tab and go to product to add save tab or you can add custom tab for each product.
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
March 30, 2020 at 9:47 pm #35691anonim87229Support Expired
Ok, Loco is working. One more question related to this. “Order tracking” doesn’t;t load any page (404 error). How to set link to order tracking or delete it from the menu? Please see screenshots.
Attachments:
You must be logged in to view attached files. -
March 30, 2020 at 9:51 pm #35695anonim87229Support Expired
Secondly, words to translate show only in “Claue” theme. I’m informed by the plugin that if I update WordPress or WooCommerce I will lost this translations. Can I somehow transfer these translated words to Claue Child? If I do so, will my translations not be deleted after the update?
-
March 31, 2020 at 12:22 am #35699HarrySupport Expired
Hi,
1. Please add below code to claue-child > functions.php
if ( ! function_exists( 'jas_claue_wc_my_account' ) ) { function jas_claue_wc_my_account() { $output = ''; if ( cs_get_option( 'header-my-account-icon' ) ) { $output .= '<div class="jas-my-account hidden-xs ts__05 pr">'; $output .= '<a class="cb chp db" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '"><i class="pe-7s-user"></i></a>'; $output .= '<ul class="pa tc">'; if ( is_user_logged_in() ) { $output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Dashboard', 'claue' ) . '</a></li>'; $output .= '<li><a class="db cg chp" href="' . esc_url( home_url( '/orders-tracking/' ) ) . '">' . esc_html__( 'Order Tracking', 'claue' ) . '</a></li>'; $output .= '<li><a class="db cg chp" href="' . esc_url( wp_logout_url() ) . '">' . esc_html__( 'Logout', 'claue' ) . '</a></li>'; } else { $output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Login / Register', 'claue' ) . '</a></li>'; } $output .= '</ul>'; $output .= '</div>'; } return apply_filters( 'jas_claue_wc_my_account', $output ); } }
and change “/orders-tracking/” with your site link slug.
If you want remove this link please add below code to claue-child > functions.php
if ( ! function_exists( 'jas_claue_wc_my_account' ) ) { function jas_claue_wc_my_account() { $output = ''; if ( cs_get_option( 'header-my-account-icon' ) ) { $output .= '<div class="jas-my-account hidden-xs ts__05 pr">'; $output .= '<a class="cb chp db" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '"><i class="pe-7s-user"></i></a>'; $output .= '<ul class="pa tc">'; if ( is_user_logged_in() ) { $output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Dashboard', 'claue' ) . '</a></li>'; $output .= '<li><a class="db cg chp" href="' . esc_url( wp_logout_url() ) . '">' . esc_html__( 'Logout', 'claue' ) . '</a></li>'; } else { $output .= '<li><a class="db cg chp" href="' . esc_url( get_permalink( get_option( 'woocommerce_myaccount_page_id' ) ) ) . '">' . esc_html__( 'Login / Register', 'claue' ) . '</a></li>'; } $output .= '</ul>'; $output .= '</div>'; } return apply_filters( 'jas_claue_wc_my_account', $output ); } }
2. Please choose “Custom” when you create new language. https://prnt.sc/rpm2j7
Custom (recommended)
This is Loco’s protected folder under “wp-content/languages/loco/” which is safe from automatic updates and provides priority over the above locations. If this folder doesn’t exist you may need to create it and ensure it has the correct permissions.Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.