Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
Version 9
Mark Fail
11,845 points
Platinum User
Hi Guys
I just wanted to make a few points on things iv noticed when reviewing client child themes. Please check against the points below encase you have also mistakinly done the same.
1. Including the core header.php and footer.php files.
Iv seen this a few times now and its most likely my fault for including them as sample in the child theme creator. Please DO NOT include core files in your child theme. This will prevent you seeing updates and also will make your site run slower because your just looping the content over and over.
You should not need to include the header.php or footer.php file in your child themes. The content of the files can be edited using hooks if needs be but in 99% of the cases iv seen they are direct copies of the orginal.
Please remove header.php/footer.php files from your child themes.
2. Not using the functions.php file.
If your trying to create new functions for your child theme, please add all your code into the functions.php (create one if you have’nt done so). If you dont then your content will not be loaded when WordPress core is loaded.
Hi Guys
I just wanted to make a few points on things iv noticed when reviewing client child themes. Please check against the points below encase you have also mistakinly done the same.
1. Including the core header.php and footer.php files.
Iv seen this a few times now and its most likely my fault for including them as sample in the child theme creator. Please DO NOT include core files in your child theme. This will prevent you seeing updates and also will make your site run slower because your just looping the content over and over.
You should not need to include the header.php or footer.php file in your child themes. The content of the files can be edited using hooks if needs be but in 99% of the cases iv seen they are direct copies of the orginal.
Please remove header.php/footer.php files from your child themes.
2. Not using the functions.php file.
If your trying to create new functions for your child theme, please add all your code into the functions.php (create one if you have’nt done so). If you dont then your content will not be loaded when WordPress core is loaded.
Ill add more issues when i see them.
Mark
Members Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login NowMembers Only Content
This reply is for PremiumPress customers only.
Login Now