Hallo zusammen,
ich bin wp-Neuling und habe ein Problem:
Folgende Fehlermeldung tritt immer auf:
ZitatParse error: syntax error, unexpected T_STRING, expecting ')' in /homepages/8/d261279729/htdocs/_neue-homepage/wp-content/themes/radiate/inc/custom-header.php on line 24
PHP
<?php
/**
* Sample implementation of the Custom Header feature
* http://codex.wordpress.org/Custom_Headers
*
* @package ThemeGrill
* @subpackage Radiate
* @since Radiate 1.0
*/
/**
* Setup the WordPress core custom header feature.
*
* @uses radiate_header_style()
* @uses radiate_admin_header_style()
* @uses radiate_admin_header_image()
*
* @package radiate
*/
function radiate_custom_header_setup() {
add_theme_support( 'custom-header', apply_filters( 'radiate_custom_header_args', array(
'default-image' => '%s/images/header/header-image-one.jpg',
'default-text-color' => '444444',
'width' => 1500,
'height' => 450,
'flex-width' => true,
'flex-height' => true,
'wp-head-callback' => 'radiate_header_style',
'admin-head-callback' => 'radiate_admin_header_style',
'admin-preview-callback' => 'radiate_admin_header_image',
) ) );
/*
* Default custom headers packaged with the theme.
* %s is a placeholder for the theme template directory URI.
*/
register_default_headers( array(
'header-image-one' => array(
'url' => '%s/images/header/header-image-one.jpg',
'thumbnail_url' => '%s/images/header/header-image-one-thumbnail.jpg',
'description' => __( 'Header Image One', 'radiate' )
)
) );
}
Alles anzeigen
Leider finde ich den Fehler nicht...
Vielen Dank für eure Unterstützung!
Mobilux