Skip to:
Content

BuddyPress.org

Changeset 5051


Ignore:
Timestamp:
08/29/2011 10:58:52 PM (13 years ago)
Author:
boonebgorges
Message:

Adds inline documentation regarding enqueuing methods for stylesheets of bp-default child themes. See #3389

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r5017 r5051  
    166166 * Enqueue theme CSS safely
    167167 *
     168 * For maximum flexibility, BuddyPress Default's stylesheet is enqueued in the following fashion.
     169 * If you're building a child theme of bp-default, you can prevent this enqueuing by overriding
     170 * this function in your child theme's functions.php:
     171 *   if ( !function_exists( 'bp_dtheme_enqueue_styles' ) ) :
     172 *       function bp_dtheme_enqueue_styles() {}
     173 *   endif;
     174 *
    168175 * @see http://codex.wordpress.org/Function_Reference/wp_enqueue_style
     176 * @see http://codex.buddypress.org/releases/1-5-developer-and-designer-information/
    169177 * @since 1.5
    170178 */
    171179function bp_dtheme_enqueue_styles() {
    172180    // Bump this when changes are made to bust cache
    173     $version = '20110819';
     181    $version = '20110829';
    174182
    175183    // Default CSS
Note: See TracChangeset for help on using the changeset viewer.