Skip to:
Content

BuddyPress.org

Changeset 1028


Ignore:
Timestamp:
02/07/2009 06:45:12 AM (17 years ago)
Author:
apeatling
Message:

Changed site-wide.css file to side-wide-sample.css so that custom css is not overwritten by updates.

Location:
trunk/buddypress-theme/buddypress-home/css
Files:
1 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/buddypress-home/css/custom-sample.css

    r727 r1028  
    11/*
    2 Rename this file to "custom.css" then add your customizations here.
    3 This will keep your CSS modifications preserved across theme updates.
     2 Rename this file to "custom.css" then add your home blog theme customizations here.
     3 This will keep your CSS modifications preserved across theme updates.
    44*/
  • trunk/buddypress-theme/buddypress-home/css/loader.php

    r727 r1028  
    11<?php
     2/* Load the WP environment */
     3require_once( preg_replace('%(.*)[/\\\\]wp-content[/\\\\].*%', '\1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' );
     4
    25/* Set the content type to CSS */
    36header('Content-type: text/css');
     
    1013if ( file_exists('custom.css') )
    1114        echo "@import url(custom.css);\n";
     15
     16do_action( 'bp_custom_home_styles' );
    1217?>
Note: See TracChangeset for help on using the changeset viewer.