Home Forums WoodMart support forum How to change product title Tag

How to change product title Tag

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #465913

    sellerdeck
    Participant

    Hi
    In screenshot product title tag is h3 but I want to change that into h2. could you help to achieve that

    Thanks…

    Attachments:
    You must be logged in to view attached files.
    #465983

    Luke Nielsen
    Keymaster

    Hello,

    Make appropriate changes and enter the below code to the functions.php file in your child theme.

    if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) {
    	function woocommerce_template_loop_product_title() {
    		echo '<h3 class="wd-entities-title"><a href="' . get_the_permalink() . '">' . get_the_title() . '</a></h3>';
    	}
    }

    Don’t hesitate to let me know if you need any further help or any other info.

    Kind Regards

    #467306

    sellerdeck
    Participant

    Thanks for the help. it’s working

    #467377

    Luke Nielsen
    Keymaster

    Hello,

    Great! In case you need any additional help, I’d be more than happy to assist you.

    Wish you all the best.

    Kind Regards

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

The topic ‘How to change product title Tag’ is closed to new replies.