Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/21/2008 03:33:24 PM (18 years ago)
Author:
apeatling
Message:

Moved CSS layout structure to the components and not the themes. This allows components to define basic layout without relying on the theme.

This will also make using existing WordPress themes as member themes far easier. The component CSS can be over-ridden in the theme.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-cssjs.php

    r373 r561  
    1414add_action( 'template_redirect', 'friends_add_js' );
    1515
     16function friends_add_structure_css() {
     17        /* Enqueue the structure CSS file to give basic positional formatting for components */
     18        wp_enqueue_style( 'bp-friends-structure', site_url() . '/wp-content/mu-plugins/bp-friends/css/structure.css' );
     19}
     20add_action( 'bp_styles', 'friends_add_structure_css' );
     21
    1622?>
Note: See TracChangeset for help on using the changeset viewer.