Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #367730

    Hi,
    Im using the Enfold photography portfolio template but I cant get a h1 tag to show on the front page!
    Looking through the forums it looks like the h1 tag is in the logo.
    Ive added a custom logo and would like help in adding the h1 tag here please.
    My site is aegeanescapes.com
    If its easier how do i add h1 tag to the fullwidth slider?
    Hope someone can point me in the right direction :-)
    Thanks
    Neil

    #367775

    hey,

    What do you need the h1 tag for exactly?
    Depending on where you want to add it, you just write <h1>Heading<h1>

    cheers

    #367942

    Thanks for replying Flikk,
    I ran a seo check on my site and it said there is no h1 tag on the home page!
    If i understand correctly the h1 tag is attached in the logo but if a custom logo is added this can change things.
    Ive tried adding a tag to the fullscreen slider but can see where to add it, the only option is to change the font size.
    My home page is only images, no text other than that on the slider.
    Can you point me in the right direction?
    Cheers

    #368321

    Hey!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_logo_headline', 'logo_new_tag');
    function logo_new_tag($headline_type) {
    $headline_type 	= 'h1';
    return $headline_type;
    }

    Cheers!
    Yigit

    #369559

    Hi Yigit,
    Thanks for this, it worked a treat! :-)
    Cheers
    Neil

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘No h1 tag on home page’ is closed to new replies.