The issue I now face happened after the Sparkling theme update a few days ago.
The analytics code in header.php was gone.
The footer credits that were removed are back.
Is there a way to fix this so with each update my settings don’t go missing or is there a premium version of theme?
I hope you are well today and thanks for posting here.
Currently we are providing all of our themes free of charge and there isn’t any premium version of themes.
If you make changes in the theme file then you have to make these changes again after theme updation as changes made in the theme file get lost on theme updation.
To avoid loosing changes on theme updation, you should develop child theme and make changes in it.
You can remove the footer credit text by copying the footer.php file from Sparkling theme in to your child theme root directory and then remove or comment the following code in that copied footer.php file.
<?php echo of_get_option( 'custom_footer_text', 'sparkling' ); ?> <?php sparkling_footer_info(); ?>
I have attached the child theme to this reply that contains the above change so you can just download and use it on your site.
Make the same change for the analytics code by overwriting the header.php file.
Hii… i want to remove the credit… but i need that copyright thing… plz send the latest sparkling child theme only with copyright information where i can input my company name.
To help keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/sparkling/ instead of replying on others thread as it makes the thread messy and hard to read.
If you want to you can also add reference of this thread in your newly created thread.
We would be more than happy to help you on your new thread.