an
groups-icon

Biggest Child Theme Mistakes!

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
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial

    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

    March 28, 2014 at 7:45 am
  • keyboardcook@gmail.com aka Mark
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    March 28, 2014 at 11:52 am
  • Mark Fail
    11,845 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 1, 2014 at 2:29 am
  • Mark
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 25, 2014 at 6:52 am
  • Daniel Vindenberg
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 29, 2014 at 11:56 am
  • Chris Wood
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 29, 2014 at 12:43 pm
  • Ian Kilmartin
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 29, 2014 at 12:55 pm
  • Malgorzata Szalata
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    April 29, 2014 at 1:24 pm
  • Mark
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 2, 2014 at 1:09 pm
  • Mark
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 2, 2014 at 1:46 pm
  • Michael Fedyk
    0 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    May 3, 2014 at 6:27 pm

544

Views

10

Replies