Home › Forums › Themes Support › HelpDesk › Tag on category page
- This topic has 4 replies, 2 voices, and was last updated 6 years, 3 months ago by Harry.
-
AuthorPosts
-
-
August 7, 2018 at 12:00 pm #23663
Hi,
- I want to set <h1> tag on shop page, how can I set that. And which .php file contain that code for <h1>. Could you help me to find the location (folder ) for the same.
- Which file contain code for header links login/register. Currently icons are appearing for Search, login/register, wishlist and cart. I want text instead of icons. Please look at attached screenshot.
Thanks
Attachments:
You must be logged in to view attached files. -
August 7, 2018 at 12:20 pm #23665
Hi,
1. On shop page, please go to Theme Option > WooCommerce > General Settings > Enable Page Title to show
tag
2. Please add code below to claue-child > functions.php
and change text as you want.
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 ); } }
Kind regards
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio -
August 8, 2018 at 11:31 am #23684
Hi,
I added this code in “public_html/wp-content/themes/claue/functions.php” file.
But its not working. No change is reflating on my site.
Thanks.
-
August 8, 2018 at 11:32 am #23685
Foe issue 1. On shop page, please go to Theme Option > WooCommerce > General Settings > Enable Page Title to show.
This is allready done. But not not showing any <h1> tag on page
-
August 8, 2018 at 3:58 pm #23691
Hi,
2. Please add code to claue-child > functions.php to prevent your customize code when update. After add code you need to activate child theme and change the text in the code.
The code only can help you change “user” icons
3. To change search, wishlist icon please copy file layout-x.php as header layout running on your site from claue > views > header to claue-child > views > header
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.