• gwp84

    (@gwordpress84)


    I am trying to change the site_description in Corporative theme.

    The tagline is wrapped in <h2> tags but I want to change this to <h1>

    I have edited a header.php file and changed the h2 tags to h2 but this is not being reflected in the live site.

    <h1 class=”site_description”><?php echo get_bloginfo( ‘description’ ); ?></h1><!– end description –>

    Thank you in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Are you working with a child theme?

    Please post a link to your site

    Thread Starter gwp84

    (@gwordpress84)

    How do I send it privately?

    The client does not want the URL to be posted publicy.

    Thank you!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You can’t send things privately.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I have edited a header.php file and changed the h2 tags to h2 but this is not being reflected in the live site.

    We’ll assume you changed h2 to h1 ??

    If you are using any caching plugins or other caching methods, make sure you’ve cleared the cache.

    Thread Starter gwp84

    (@gwordpress84)

    Yes – h2 to h1! It’s not reflected in the site even with a fresh browser.

    Must be in another .php file?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You may have edited the wrong file ??

    Install the plugin “show current template” to see what files are used to render your pages.

    Thread Starter gwp84

    (@gwordpress84)

    Appreciate the help!

    I have found where this part of header is called:

    else{
    get_template_part(‘includes/header4’);
    }

    from within header.php

    I have edited header4.php and changed the tags from h2 to h1 but it is still no being relfected live.

    Seems odd as it is obvious the header.php is calling header4.php

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Change h2 site_description to h1’ is closed to new replies.