WordPress.org

Making WordPress.org

Changeset 1579


Ignore:
Timestamp:
05/15/2015 07:34:13 AM (5 years ago)
Author:
netweb
Message:

Forums Theme: Enqueue bb-base stylesheet, restore legacy forum-wp4-style.css styles and remove unused styles.

See #376

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/functions.php

    r1535 r1579  
    2121 */
    2222function wporg_support_scripts() {
    23 //  wp_enqueue_style( 'wporg-support',       get_stylesheet_uri() );
    24 //  wp_enqueue_style( 'wp4-style',           get_template_directory_uri() . '/css/wp4.css'       );
    25 //  wp_enqueue_style( 'wp4-rtl-style',       get_template_directory_uri() . '/css/wp4-rtl.css'       );
    26 //  wp_enqueue_style( 'iphone-style',        get_template_directory_uri() . '/css/iphone.css'        );
    27 //  wp_enqueue_style( 'forum-wp4-style',     get_template_directory_uri() . '/css/forum-wp4.css'     );
    28 //  wp_enqueue_style( 'forum-wp4-rtl-style', get_template_directory_uri() . '/css/forum-wp4-rtl.css' );
    29 //  wp_enqueue_style( 'forum-ie7-style',     get_template_directory_uri() . '/css/forum-ie7.css'     );
    30 //  wp_enqueue_style( 'ie-style',            get_template_directory_uri() . '/css/ie.css'            );
    31 //  wp_enqueue_style( 'bbpress-style',       get_template_directory_uri() . '/css/bbpress.css'            );
    32 //  wp_enqueue_style( 'bbpress-rtl-style',   get_template_directory_uri() . '/css/bbpress-rtl.css'            );
    33 //  wp_enqueue_style( 'bbpress-wpbbp-style', get_template_directory_uri() . '/css/bbpress-wpbbp.css'            );
    34 //  wp_enqueue_style( 'dashicons',           get_template_directory_uri() . '/css/dashicons.css' );
    35 //  wp_enqueue_style( 'open-sans',           '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600' );
     23    wp_enqueue_style( 'forum-wp4-style', get_template_directory_uri() . '/css/forum-wp4.css' );
     24    wp_enqueue_style( 'bb-base', '//bbpress.org/wp-content/themes/bb-base/style.css?ver=20150216d' );
    3625}
    3726add_action( 'wp_enqueue_scripts', 'wporg_support_scripts' );
Note: See TracChangeset for help on using the changeset viewer.