leoariva

graphene functions.php

Jan 25th, 2013
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /**
  3. * Graphene WordPress Theme, Copyright 2010-2012 Syahir Hakim
  4. * Graphene is distributed under the terms of the GNU GPL version 3
  5. *
  6. * Graphene functions and definitions
  7. *
  8. * @package Graphene
  9. * @since Graphene 1.0
  10. */
  11.  
  12.  
  13. /**
  14. * Before we do anything, let's get the mobile extension's init file if it exists
  15. */
  16. $mobile_path = dirname( dirname( __FILE__ ) ) . '/graphene-mobile/includes/theme-plugin.php';
  17. if ( file_exists( $mobile_path ) ) { include( $mobile_path ); }
  18.  
  19.  
  20. /**
  21. * Load the various theme files
  22. */
  23. global $graphene_settings;
  24. require( get_template_directory() . '/admin/options-init.php' ); // Theme options and admin interface setup
  25. require( $graphene_settings['template_dir'] . '/includes/theme-scripts.php' ); // Theme stylesheets and scripts
  26. require( $graphene_settings['template_dir'] . '/includes/theme-utils.php' ); // Theme utilities
  27. require( $graphene_settings['template_dir'] . '/includes/theme-head.php' ); // Functions for output into the HTML <head> element
  28. require( $graphene_settings['template_dir'] . '/includes/theme-menu.php' ); // Functions for navigation menus
  29. require( $graphene_settings['template_dir'] . '/includes/theme-loop.php' ); // Functions for posts/pages loops
  30. require( $graphene_settings['template_dir'] . '/includes/theme-comments.php' ); // Functions for comments
  31. require( $graphene_settings['template_dir'] . '/includes/theme-widgets.php' ); // Functions for custom widgets
  32. require( $graphene_settings['template_dir'] . '/includes/theme-slider.php' ); // Functions for the slider
  33. require( $graphene_settings['template_dir'] . '/includes/theme-panes.php' ); // Functions for the homepage panes
  34. require( $graphene_settings['template_dir'] . '/includes/theme-plugins.php' ); // Native plugins support
  35. require( $graphene_settings['template_dir'] . '/includes/theme-shortcodes.php' ); // Theme shortcodes
  36. require( $graphene_settings['template_dir'] . '/includes/theme-webfonts.php' ); // Theme webfonts
  37. require( $graphene_settings['template_dir'] . '/includes/theme-functions.php' ); // Other functions that are not categorised above
  38. require( $graphene_settings['template_dir'] . '/includes/theme-setup.php' ); // Theme setup
RAW Paste Data