Changes to headers.php in Child Theme - by Adeeb Rantawi

This topic has 2 replies, 2 voices, and was last updated 5 years ago ago by Olga Barlow

  • Avatar: Adeeb Rantawi
    Adeeb Rantawi
    Participant
    December 7, 2020 at 02:49

    Hi,

    I have added CSS styling code to headers.php in <HEAD> section just after the line “<?php wp_head(); ?>“. This is important for the Arabic copy of my website.

    Do I have to make those changes every time you update the theme? is there any way I can add it to Child theme so it sticks there?

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    December 7, 2020 at 13:27

    Hello,

    Install and use Insert Header and Footers plugin to add the custom code before the close head tag. Then you won’t lose it even if you change the theme.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Changes to headers.php in Child Theme’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.