Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2010 02:54:12 PM (16 years ago)
Author:
apeatling
Message:

Changing custom image header hook so it functions on all pages.

File:
1 edited

Legend:

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

    r2671 r2676  
    138138/****
    139139 * Custom header image support. You can remove this entirely in a child theme by adding this line
    140  * to your functions.php: remove_action( 'template_redirect', 'bp_dtheme_add_custom_header_support' );
     140 * to your functions.php: remove_action( 'init', 'bp_dtheme_add_custom_header_support' );
    141141 */
    142142function bp_dtheme_add_custom_header_support() {
     
    210210    add_custom_image_header( 'bp_dtheme_header_style', 'bp_dtheme_admin_header_style' );
    211211}
    212 add_action( 'template_redirect', 'bp_dtheme_add_custom_header_support' );
     212add_action( 'init', 'bp_dtheme_add_custom_header_support' );
    213213
    214214function bp_dtheme_remove_redundant() {
Note: See TracChangeset for help on using the changeset viewer.