Home › Forums › WoodMart support forum › H1-5 to div
H1-5 to div
- This topic has 14 replies, 2 voices, and was last updated 4 years, 5 months ago by Eric Watson.
-
AuthorPosts
-
June 26, 2020 at 8:31 am #206603
RainhardParticipantWe 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.June 26, 2020 at 8:34 am #206606
Eric WatsonParticipantHello,
Please indicate specifically the places where you want to change tags.
Kind Regards
XTemos StudioJune 26, 2020 at 8:41 am #206612
RainhardParticipantI pointed it out in the screenshot
June 26, 2020 at 8:48 am #206613June 26, 2020 at 8:54 am #206620
Eric WatsonParticipant1) 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 StudioJune 26, 2020 at 10:38 am #206642
RainhardParticipantIts help us
And need to this elementAttachments:
You must be logged in to view attached files.June 26, 2020 at 11:23 am #206663
Eric WatsonParticipantThis is also the default element from plugin WPB.
Kind Regards
XTemos StudioJune 26, 2020 at 11:44 am #206672June 26, 2020 at 11:56 am #206678
Eric WatsonParticipantJune 26, 2020 at 12:04 pm #206685
RainhardParticipantAnd how disable shopcart on static page?
Attachments:
You must be logged in to view attached files.June 26, 2020 at 12:19 pm #206691
Eric WatsonParticipantYou need to remove the cart from mobile http://prntscr.com/t6x3xh
June 26, 2020 at 12:27 pm #206695
RainhardParticipantCard 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.
June 26, 2020 at 12:39 pm #206701
Eric WatsonParticipant1) Select your header in Header builder – Switch to mobile – Remove cart element
http://prntscr.com/t6xctn2) 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 tabsWe do not guarantee that the elements will work correctly after the change.
Kind Regards
XTemos StudioJune 26, 2020 at 1:28 pm #206718
RainhardParticipantTHX! YOU ARE BEST! ALL FINE!
June 26, 2020 at 1:29 pm #206719
Eric WatsonParticipantYou are welcome!
-
AuthorPosts
- You must be logged in to create new topics. Login / Register