• Resolved bluesky10

    (@jouielovesyou)


    Please, if anyone kind enough to help, I would like to wrap the logo (only in homepage) with the heading level 1 tag. I have a feeling the modification should happen in partials/header/logo.php starting in line 31, but my limited knowledge in WordPress code constantly breaks the site in my every attempt.

    My exact problem is where to properly put the curly braces and end the conditional if (is_home()) {...

Viewing 1 replies (of 1 total)
  • Thread Starter bluesky10

    (@jouielovesyou)

    Apparently I gave up too fast. The simple solution is to wrap only the the_custom_logo() and not bother to anything else. I don’t know if this is still the case if I change the header or the logo style.

Viewing 1 replies (of 1 total)
  • The topic ‘Wrapping the logo in a heading level 1 tag’ is closed to new replies.