panovae

Untitled

Dec 29th, 2012
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.07 KB | None | 0 0
  1. <?php
  2. /**
  3.  * This is your child theme functions file.  In general, most PHP customizations should be placed within this
  4.  * file.  Sometimes, you may have to overwrite a template file.  However, you should consult the theme
  5.  * documentation and support forums before making a decision.  In most cases, what you want to accomplish
  6.  * can be done from this file alone.  This isn't a foreign practice introduced by parent/child themes.  This is
  7.  * how WordPress works.  By utilizing the functions.php file, you are both future-proofing your site and using
  8.  * a general best practice for coding.
  9.  *
  10.  * All style/design changes should take place within your style.css file, not this one.
  11.  *
  12.  * The functions file can be your best friend or your worst enemy.  Always double-check your code to make
  13.  * sure that you close everything that you open and that it works before uploading it to a live site.
  14.  *
  15.  * @package cascade-child
  16.  * @subpackage Functions
  17.  */
  18.  
  19. /* Adds the child theme setup function to the 'after_setup_theme' hook. */
  20. add_action( 'after_setup_theme', 'cascade_child_theme_setup', 11 );
  21. ?>
Advertisement
Add Comment
Please, Sign In to add comment