Changeset 5900
- Timestamp:
- 09/08/2017 07:02:15 PM (7 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/themes
- Files:
-
- 57 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base-v2/functions.php
r3275 r5900 42 42 */ 43 43 require( get_template_directory() . '/inc/template-tags.php' ); 44 45 /**46 * Custom functions that act independently of the theme templates47 */48 //require( get_template_directory() . '/inc/tweaks.php' );49 50 /**51 * Custom Theme Options52 */53 //require( get_template_directory() . '/inc/theme-options/theme-options.php' );54 55 /**56 * WordPress.com-specific functions and definitions57 */58 //require( get_template_directory() . '/inc/wpcom.php' );59 44 60 45 /** -
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base-v2/lib/class-wcb-manager.php
r2 r5900 7 7 wcb_maybe_define( 'WCB_LIB_DIR', WCB_DIR . '/lib' ); 8 8 wcb_maybe_define( 'WCB_LIB_URL', WCB_URL . '/lib' ); 9 }10 11 function includes() {12 require_once WCB_LIB_DIR . '/options/class-wcb-options.php';13 // require_once WCB_LIB_DIR . '/structure/class-wcb-structure.php';14 require_once WCB_LIB_DIR . '/speakers/class-wcb-speakers.php';15 require_once WCB_LIB_DIR . '/sessions/class-wcb-sessions.php';16 require_once WCB_LIB_DIR . '/sponsors/class-wcb-sponsors.php';17 }18 19 function loaded() {20 $this->components = array(21 'options' => new WCB_Options(),22 // 'structure' => new WCB_Structure(),23 'speakers' => ( apply_filters( 'wcb_load_component_speakers', true ) ) ? new WCB_Speakers() : false,24 'sessions' => ( apply_filters( 'wcb_load_component_sessions', true ) ) ? new WCB_Sessions() : false,25 'sponsors' => ( apply_filters( 'wcb_load_component_sponsors', true ) ) ? new WCB_Sponsors() : false,26 );27 9 } 28 10 } -
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base-v2/lib/utils/header.php
r5898 r5900 78 78 79 79 /** 80 * Print the typekit script tags.81 */82 function wcb_typekit_scripts() {83 $option = wcb_get_option( 'typekit' );84 $kit_id = apply_filters( 'wcb_typekit_id', $option );85 86 if ( empty( $kit_id ) )87 return;88 89 ?>90 <script type="text/javascript" src="//use.typekit.com/<?php echo esc_attr( $kit_id ); ?>.js"></script>91 <script type="text/javascript">try{Typekit.load();}catch(e){}</script>92 <?php93 }94 95 /**96 80 * Get the value for the <meta name="viewport"> tag 97 81 * -
sites/trunk/wordcamp.org/public_html/wp-content/themes/wordcamp-base/lib/class-wcb-manager.php
r5898 r5900 12 12 require_once WCB_LIB_DIR . '/options/class-wcb-options.php'; 13 13 require_once WCB_LIB_DIR . '/structure/class-wcb-structure.php'; 14 require_once WCB_LIB_DIR . '/speakers/class-wcb-speakers.php';15 require_once WCB_LIB_DIR . '/sessions/class-wcb-sessions.php';16 require_once WCB_LIB_DIR . '/sponsors/class-wcb-sponsors.php';17 14 } 18 15 … … 21 18 'options' => new WCB_Options(), 22 19 'structure' => new WCB_Structure(), 23 'speakers' => ( apply_filters( 'wcb_load_component_speakers', true ) ) ? new WCB_Speakers() : false,24 'sessions' => ( apply_filters( 'wcb_load_component_sessions', true ) ) ? new WCB_Sessions() : false,25 'sponsors' => ( apply_filters( 'wcb_load_component_sponsors', true ) ) ? new WCB_Sponsors() : false,26 20 ); 27 21 }
Note: See TracChangeset
for help on using the changeset viewer.