Advertisement
Guest User

Untitled

a guest
Feb 15th, 2015
417
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. <?php
  2. /**
  3. *
  4. * This program is a free software; you can use it and/or modify it under the terms of the GNU
  5. * General Public License as published by the Free Software Foundation; either version 2 of the License,
  6. * or (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
  9. * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. *
  11. * You should have received a copy of the GNU General Public License along with this program; if not, write
  12. * to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  13. *
  14. * @package Customizr
  15. * @subpackage functions
  16. * @since 1.0
  17. * @author Nicolas GUILLAUME <nicolas@themesandco.com>
  18. * @copyright Copyright (c) 2013, Nicolas GUILLAUME
  19. * @link http://themesandco.com/customizr
  20. * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  21. */
  22.  
  23.  
  24.  
  25. /**
  26. * This is where Customizr starts. This file defines and loads the theme's components :
  27. * 1) A function tc__f() used everywhere in the theme, extension of WP built-in apply_filters()
  28. * 2) Constants : CUSTOMIZR_VER, TC_BASE, TC_BASE_CHILD, TC_BASE_URL, TC_BASE_URL_CHILD, THEMENAME, TC_WEBSITE
  29. * 3) Default filtered values : images sizes, skins, featured pages, social networks, widgets, post list layout
  30. * 4) Text Domain
  31. * 5) Theme supports : editor style, automatic-feed-links, post formats, navigation menu, post-thumbnails, retina support
  32. * 6) Plugins compatibility : jetpack, bbpress, qtranslate, woocommerce and more to come
  33. * 7) Default filtered options for the customizer
  34. * 8) Customizr theme's hooks API : front end components are rendered with action and filter hooks
  35. *
  36. * The method TC__::tc__() loads the php files and instanciates all theme's classes.
  37. * All classes files (except the class__.php file which loads the other) are named with the following convention : class-[group]-[class_name].php
  38. *
  39. * The theme is entirely built on an extensible filter and action hooks API, which makes customizations easy as breeze, without ever needing to modify the core structure.
  40. * Customizr's code acts like a collection of plugins that can be enabled, disabled or extended. More here : http://themesandco.com/customizr/hooks-api
  41. *
  42. */
  43.  
  44.  
  45. //Fire Customizr
  46. require_once( get_template_directory() . '/inc/init.php' );
  47.  
  48. /**
  49. * The best and safest way to extend Customizr with your own custom functions is to create a child theme.
  50. * You can add functions here but they will be lost on upgrade. If you use a child theme, you are safe!
  51. * More informations on how to create a child theme with Customizr here : http://themesandco.com/customizr/#child-theme
  52. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement