Home Forums Themes Support HelpDesk Tag on category page

This topic contains 4 replies, has 2 voices, and was last updated by  Harry 2 months, 1 week ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #23663

    Hi,

    1. 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.
    2. 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.
    #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

    #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.

     

     

    #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

     

    #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

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.