Hi There,
I am trying to add category description text to Renew theme. I have created a child theme which seems fine. I have proceded to paste this code:
function add_category_description() {
if(is_category()) { ?>
<div class=“x-container max width”
<?php echo category_description(); ?>
<?php
}
}
add_action( ‘x_after_view_integrity__landmark-header’, ‘add_category_description’,99999 );
In the X child theme functions (functions.php) at the bottom I have recieved this message:
Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.
Please could you advise on what I should do here, could it be anything to do with my site now being https??? my site is https://exeteracupuncture.co.uk/
Thank you in advance
John