Advertisement
halfcj

ablestoke

Mar 6th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. <?php
  2. /**
  3. * Sets up the theme by loading the Mysitemyway class & initializing the framework
  4. * which activates all classes and functions needed for theme's operation.
  5. *
  6. * @package Mysitemyway
  7. * @subpackage Functions
  8. */
  9.  
  10. # Load the Mysitemyway class.
  11. require_once( TEMPLATEPATH . '/framework.php' );
  12.  
  13. # Get theme data.
  14. $theme_data = get_theme_data( TEMPLATEPATH . '/style.css' );
  15.  
  16. # Initialize the Mysitemyway framework.
  17. Mysitemyway::init(array(
  18. 'theme_name' => $theme_data['Name'],
  19. 'theme_version' => $theme_data['Version']
  20. ));
  21.  
  22. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement