Changeset 4816 for trunk/bp-themes/bp-default/functions.php
- Timestamp:
- 07/23/2011 02:47:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/functions.php
r4775 r4816 135 135 */ 136 136 function bp_dtheme_enqueue_scripts() { 137 wp_enqueue_script( 'dtheme-ajax-js', get_template_directory_uri() . '/_inc/global.js', array( 'jquery' ), BP_VERSION);137 wp_enqueue_script( 'dtheme-ajax-js', get_template_directory_uri() . '/_inc/global.js', array( 'jquery' ), '20110723' ); 138 138 139 139 // Add words that we need to use in JS to the end of the page so they can be translated and still used. … … 164 164 165 165 // Default CSS 166 wp_enqueue_style( 'bp-default-main', get_template_directory_uri() . '/_inc/css/default.css', array(), BP_VERSION);166 wp_enqueue_style( 'bp-default-main', get_template_directory_uri() . '/_inc/css/default.css', array(), '20110723' ); 167 167 168 168 // Right to left CSS 169 169 if ( is_rtl() ) 170 wp_enqueue_style( 'bp-default-main-rtl', get_template_directory_uri() . '/_inc/css/default-rtl.css', array( 'bp-default-main' ), BP_VERSION);170 wp_enqueue_style( 'bp-default-main-rtl', get_template_directory_uri() . '/_inc/css/default-rtl.css', array( 'bp-default-main' ), '20110723' ); 171 171 } 172 172 add_action( 'wp_print_styles', 'bp_dtheme_enqueue_styles' );
Note: See TracChangeset
for help on using the changeset viewer.