AAShepAA

Myriad functions.php

Jul 3rd, 2012
55
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. The other was the functions.php that I had copied over to my child theme FROM bbPress plugin. This one is the one from the Myriad "mother" theme.
  2.  
  3.  
  4.  
  5. <?php
  6. /**
  7. * Sets up the theme by loading the Mysitemyway class & initializing the framework
  8. * which activates all classes and functions needed for theme's operation.
  9. *
  10. * @package Mysitemyway
  11. * @subpackage Functions
  12. */
  13.  
  14. # Load the Mysitemyway class.
  15. require_once( TEMPLATEPATH . '/framework.php' );
  16.  
  17. # Get theme data.
  18. $theme_data = get_theme_data( TEMPLATEPATH . '/style.css' );
  19.  
  20. # Initialize the Mysitemyway framework.
  21. Mysitemyway::init(array(
  22. 'theme_name' => $theme_data['Name'],
  23. 'theme_version' => $theme_data['Version']
  24. ));
  25.  
  26. ?>
RAW Paste Data