Advertisement
Guest User

codex

a guest
Nov 9th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. <?php
  2. /**
  3. * Receptar WordPress Theme
  4. *
  5. * Receptar WordPress Theme, Copyright 2015 WebMan [http://www.webmandesign.eu/]
  6. * Receptar is distributed under the terms of the GNU GPL
  7. *
  8. * @package Receptar
  9. * @author WebMan
  10. * @license GPL-2.0+
  11. * @link http://www.webmandesign.eu
  12. * @copyright 2015 WebMan - Oliver Juhas
  13. *
  14. * @since 1.0
  15. * @version 1.3
  16. *
  17. * @link http://www.webmandesign.eu
  18. *
  19. * CONTENT:
  20. * - 0) Constants
  21. * - 1) Required files
  22. */
  23.  
  24.  
  25.  
  26.  
  27.  
  28. /**
  29. * 0) Constants
  30. */
  31.  
  32. // Basic constants
  33.  
  34. if ( ! defined( 'WM_THEME_SHORTNAME' ) ) define( 'WM_THEME_SHORTNAME', str_replace( array( '-lite', '-plus' ), '', get_template() ) );
  35.  
  36. // Dir constants
  37.  
  38. if ( ! defined( 'WM_INC_DIR' ) ) define( 'WM_INC_DIR', trailingslashit( 'inc' ) );
  39.  
  40.  
  41.  
  42.  
  43.  
  44. /**
  45. * 1) Required files
  46. */
  47.  
  48. //Global functions
  49. locate_template( WM_INC_DIR . 'lib/core.php', true );
  50.  
  51. //Theme setup
  52. locate_template( WM_INC_DIR . 'setup.php', true );
  53.  
  54. //Custom header
  55. locate_template( WM_INC_DIR . 'custom-header/custom-header.php', true );
  56.  
  57. //Customizer
  58. locate_template( WM_INC_DIR . 'customizer/customizer.php', true );
  59.  
  60. //Jetpack setup
  61. locate_template( WM_INC_DIR . 'jetpack/jetpack.php', true );
  62.  
  63. //Beaver Builder setup
  64. locate_template( WM_INC_DIR . 'beaver-builder/beaver-builder.php', true );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement