• Hi,

    I am trying to put a code for a header slider into my header.php for my child theme Plytag. Since I’m a novice, I would appreciate someone instructing me on this as if I was five years old. Seriously, please tell me exactly where to put this code.

    if (function_exists(‘get_thethe_image_slider’)) {
    print get_thethe_image_slider(‘The The Image Slider’);

    }
    The slider name is The The Image Slider. I also need to make the user functions pluggable, how do I declare it conditionally? What does that even mean? Do I need to add something extra to the code above to make it conditional?

    I have tried copying the header.php to my child theme and then added the code there, however I just keeping getting a blank website and an error message. Can you help me please?

  • The topic ‘Add code to header.php’ is closed to new replies.