Is it possible to override compare page in using child theme?
-
Hello I want to know if it’s possible to override compare page using child theme because I want to add the long description to the compare form not the short one, I managed to do this in parent theme but as I mentioned I want to know if it possible using child theme
Hello,
Sure, you can. Moreover, adding custom code to the child theme is the correct way of customization, as it would remain after each theme update.
If you have any questions please feel free to contact us.
Best Regards
Hello,
Thank you for your response. How can I override compare.php page then ?
Hello,
You copy the function you customize, insert it into functions.php file of the child theme.
If you have any questions please feel free to contact us.
Best Regards
I can do this with any function in the whole parent theme, right ?
Hello,
Yes, you can. If you are not experienced enough, make the full backup of your site, you can touch something functions.php of the parent theme and break the site. Backup is your guarantee.
Best Regards
Great! thank you very much.
You are welcome! We are here to help.
Wish you a wonderful day!
The topic ‘Is it possible to override compare page in using child theme?’ is closed to new replies.