Dear @islam,
It is not permitted to modify the code directly in the parent theme, as these changes will be overwritten with the next update. As you can see, many functions and the current function has a wrapper with “if (!function_exists)”. You can copy the inner content (inside the condition) to your child theme’s functions.php file and implement the modifications there. For more details, please visit: https://developer.wordpress.org/themes/advanced-topics/child-themes/.
Best regards,
Jack Richardson
The 8Theme’s Team















