Changeset 379 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/functions.php
- Timestamp:
- 02/05/2014 08:08:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-p2/functions.php
r378 r379 10 10 wp_deregister_style( 'p2' ); 11 11 wp_register_style( 'p2', get_template_directory_uri() . '/style.css' ); 12 wp_enqueue_style( 'wporg-p2', get_stylesheet_uri(), array( 'p2' ), '2014-02-05 a' );12 wp_enqueue_style( 'wporg-p2', get_stylesheet_uri(), array( 'p2' ), '2014-02-05b' ); 13 13 } 14 14 … … 65 65 } 66 66 67 67 function wporg_p2_iphone_style_override() { 68 if ( p2_is_iphone() ) { 69 wp_deregister_style( 'p2-iphone-style' ); 70 } 71 wp_enqueue_style( 72 'p2-iphone-style', 73 get_template_directory_uri() . '/style-iphone.css', 74 array(), 75 '20120402', 76 '(max-width: 320px)' 77 ); 78 } 79 add_action( 'wp_enqueue_scripts', 'wporg_p2_iphone_style_override', 1001 ); 80
Note: See TracChangeset
for help on using the changeset viewer.