Home Forums WoodMart support forum H1-5 to div

H1-5 to div

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #206603

    Rainhard
    Participant

    We want to get rid of headers on our page to improve SEO. But some elements do not allow you to set div instead of H3. Tell us how to do this correctly and in which files to change the directives, so that we do not encounter problems in future updates. Example page – https://perimetr-stk.ru/fasadnye-raboty/montazh-sajdinga/new-design/ we Want to remove h3 in the product widget, as well as the shopping cart, it is present in the code, although the site is in catalog mode.

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

    Eric Watson
    Participant

    Hello,

    Please indicate specifically the places where you want to change tags.

    Kind Regards
    XTemos Studio

    #206612

    Rainhard
    Participant

    I pointed it out in the screenshot

    #206613

    Rainhard
    Participant

    And this

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

    Eric Watson
    Participant

    1) Try to add the following PHP code snippet to the child theme functions.php file to change the product title tag

    function woocommerce_template_loop_product_title() {
    	echo '<h3 class="product-title"><a href="' . get_the_permalink() . '">' . get_the_title() . '</a></h3>';
    }

    2) As for the second screenshot, this is a default element of the plugin WPB and you can not change the tag without modifying the plugin files.

    Kind Regards
    XTemos Studio

    #206642

    Rainhard
    Participant

    Its help us
    And need to this element

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

    Eric Watson
    Participant

    This is also the default element from plugin WPB.

    Kind Regards
    XTemos Studio

    #206672

    Rainhard
    Participant

    Tabs too?

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

    Eric Watson
    Participant
    #206685

    Rainhard
    Participant

    And how disable shopcart on static page?

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

    Eric Watson
    Participant

    You need to remove the cart from mobile http://prntscr.com/t6x3xh

    #206695

    Rainhard
    Participant

    Card fixed. THX

    Since we don’t have support for the WPB plugin, you can tell us which files need to change the h4 values so that we can hardcode them.

    #206701

    Eric Watson
    Participant

    1) Select your header in Header builder – Switch to mobile – Remove cart element
    http://prntscr.com/t6xctn

    2) Toggle -> js_composer\include\classes\shortcodes\vc-toggle.php
    Accordion -> js_composer\include\classes\shortcodes\vc-tta-section.php http://prntscr.com/t6xgem
    Tabs -> http://prntscr.com/t6xgpn We can not find the h4 tag in tabs

    We do not guarantee that the elements will work correctly after the change.

    Kind Regards
    XTemos Studio

    #206718

    Rainhard
    Participant

    THX! YOU ARE BEST! ALL FINE!

    #206719

    Eric Watson
    Participant

    You are welcome!

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