• Resolved Schroedingers Cat

    (@schroedingers-cat)


    Hi,

    I created a child theme for twentytwentytwo to tweak it a bit more. But I can’t find file (liked former “header.php”) or somesuch, where the <head> is portrayed, so can’t really overwrite it in the child theme. How do I go about if I want some additional tags in the <head> Element?

    Many thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator jordesign

    (@jordesign)

    Hi @schroedingers-cat – if you have the child-theme you should be able to make a copy of header.php from the main twentytwentytwo theme and put in your child theme. Then you’d be able to make adjustments.

    Thread Starter Schroedingers Cat

    (@schroedingers-cat)

    Hi @jordesign – thank you for your reply! My problem is: I can’t find any header.php in the twentytwentytwo theme. All I can find, resembling something like headers are…

    • in “inc/patterns/”
      A lot of patterns, for the header, e.g. “header-large-dark.php” (the one I am using), but I cannot find any mention of the meta Info that usually goes into the <head> element.
    • in “parts” I see a “header.html” – as to what this does, I am pretty clueless

    I wonder where they have hidden the meta info that goes into the header.

    Thread Starter Schroedingers Cat

    (@schroedingers-cat)

    I found a satisfying answer, how to manually add <head> meta without Plugins:
    https://mediendesign-quer.com/wordpress-meta-tags-ohne-plugin/

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