Changeset 591 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
- Timestamp:
- 05/02/2014 09:43:28 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
r566 r591 40 40 41 41 add_action( 'init', __NAMESPACE__ . '\\init' ); 42 42 add_filter( 'handbook_post_types', __NAMESPACE__ . '\\filter_handbook_post_types' ); 43 43 44 44 function init() { … … 58 58 } 59 59 60 /** 61 * handbook post_type filter function 62 */ 63 function filter_handbook_post_types( $types ) { 64 return array( 'theme', 'plugin' ); 65 } 60 66 61 67 /** … … 246 252 ), 247 253 'public' => true, 254 // Hierarchical x 2 to enable (.+) rather than ([^/]+) for rewrites. 248 255 'hierarchical' => true, 249 256 'rewrite' => array( 'slug' => 'reference/files', 'hierarchical' => true ), … … 300 307 wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600' ); 301 308 wp_enqueue_style( 'wporg-developer-style', get_stylesheet_uri(), array(), '2' ); 302 wp_enqueue_style( 'wp-dev-sass-compiled', get_template_directory_uri() . '/ main.css', array( 'wporg-developer-style' ), '20140425' );309 wp_enqueue_style( 'wp-dev-sass-compiled', get_template_directory_uri() . '/stylesheets/main.css', array( 'wporg-developer-style' ), '20140425' ); 303 310 wp_enqueue_script( 'wporg-developer-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20120206', true ); 304 311 wp_enqueue_script( 'wporg-developer-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20130115', true );
Note: See TracChangeset
for help on using the changeset viewer.