valiumobsequy
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Parse Error: syntax error, unexpected T_STRINGThanks! But, how do I do it? I get the error on every part of the Dashboard
Forum: Fixing WordPress
In reply to: Parse Error: syntax error, unexpected T_STRINGdefine( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘basic_header_image_width’, $lw_top_header_image_width ) );
define( ‘HEADER_IMAGE_HEIGHT’, apply_filters( ‘basic_header_image_height’, $lw_top_header_image_height ) );// Don’t support text inside the header image.
define( ‘NO_HEADER_TEXT’, true );// Add a way for the custom header to be styled in the admin panel that controls
// custom headers. See yourtheme_admin_header_style(), below.
add_custom_image_header( ”, ‘basic_admin_header_style’ );// … and thus ends the changeable header business.
if ( ! function_exists( ‘basic_admin_header_style’ ) ) :
/**
* Styles the header image displayed on the Appearance > Header admin panel.
*
* Referenced via add_custom_image_header() in yourtheme_setup().
*
* @since 3.0.0
*/
function basic_admin_header_style() {
?>
<style type=”text/css”>
#headimg {
height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
width: <?php echo HEADER_IMAGE_WIDTH; ?>px;
}
#headimg h1, #headimg #desc {
display: none;
}
</style>
<?php
}
endif;
?>— That’s what’s in the theme that I downloaded. However, I’m having trouble accessing my site through FTP so I can just tell you what I put in that I believe messed it up.
define( ‘HEADER_IMAGE_WIDTH’, apply_filters( ‘basic_header_image_width’, 1802px_top_header_image_width ) );
I had added the 1802px in place of $lw because I thought that was how I could change the allowed width