badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Semantic Template Structure

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #9054
    Tarik
    Member

    Hi,

    I’m wondering why with the theme it doesn’t follow best semantic approaches to document structure relating to headings.

    I see you have the logo or site name in h1 tags, the tag line in h2

    I also see the page title of pages as also h2.

    This is directly against best SEO practices and document semantic strucutres – its quiet a task to clean all this up, and would have not benefit for users in its current form.

    i also seem that in content h tags are not formatted by default?

    #9146

    Hi Tarik

    We have designed our theme in this way. We will think about it in our upcomming version. Anyway thanks for your sugestion

    Regards

    Sunil

    #9403
    Tarik
    Member

    Hi

    No probs the theme is great apart from that so far.

    Im having a problem with fixing this myself with a child theme.

    I have created the child theme and the CSS file over rides it fine, however now im trying to remove the h1 tag from the logo. in doing so i have copied the relevant files and folder structure to my child theme. but it seems to be ignoring it and still including what the parent theme has set

    Can you advise??

    #9407

    Hi Tarik

    You cant remove the tag from the child theme. Child theme is to overwrite the css. If you really want to edit it then you need code customization. But if you update it then all your customization data will be lost.

    Regards
    Sunil

    #9409
    Tarik
    Member

    ok damn 🙁

    Most themes that support child themes fully you can overwrite header.php etc aswell as just CSS styles see https://codex.wordpress.org/Child_Themes#Template_Files

    ill have to edit the core files then, as its detrimental to SEO to use in its current form.

    When do you envisage a new version to come out?

    #9443
    Rabin Shrestha
    Participant

    Hi Tarik,

    You can override the code but for that you have to first unhook the function responsible for showing that code then you have to hook your own function. Mere copy and pasting the relevant files and folder will not work.

    Have a look here in this article for more detail explanation http://venutip.com/content/right-way-override-theme-functions

    The function you have to look for is attitude_headerdetails in header-extensions.php

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.