Child theme doesn't work

I was trying to install the following script:

function head_scripts() { ?>

<?php } add_action( 'wp_head', 'head_scripts' ); I downloaded and activated the Child Pro theme. As soon as I did that, the Revolution slider disappeared How do I manually add the above script to x-theme Pro?

Hi @Leprojet251,

Thanks for reaching out.

The child theme will work as always but when you add the code it disappears the revolution slider because of the improper way on how you add the script. To better help you with your issue, we need to examine your child theme and functions.php. Please give us the following information in a Secure Note.

  • WordPress Login URL
  • Admin level username and password

You can find the Secure Note button at the bottom of your posts.

Thank you.

posted a secure note

Hello @Leprojet251

To add the custom script in X/Pro Theme, please have a look at this article https://kinsta.com/knowledgebase/add-code-wordpress-header-footer/

Please note that we do not provide child theme customization support. It is out of the support scope.

Thanks for understanding

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.