Support » Themes and Templates » Error in functions.php. Please help!!

  • Resolved spandabel



    Suddenly I got the message:

    Parse error: syntax error, unexpected T_CLASS in /home/spandabe/public_html/wp-content/themes/modularity-lite/functions.php on line 72

    when opening my site

    I only changed things in header.php, not in functions.php!

    This is how it looks in my functions.php around line 72:

    // The header business begins here:
    // No CSS, just IMG call
    define('HEADER_TEXTCOLOR', '');
    define('HEADER_IMAGE', '');
    define('HEADER_IMAGE_WIDTH', 950);
    define('HEADER_IMAGE_HEIGHT', 250);
    define( 'NO_HEADER_TEXT', true );
    function modularity_admin_header_style() {
    <style type="text/css">
    #headimg {
    	height: <?php echo HEADER_IMAGE_HEIGHT; ?>px;
    	width: <?php echo HEADER_IMAGE_WIDTH; ?>px;

    Does anybody have an idea what has happened??
    – Anne

    btw – the theme I’m using is Modularity Lite

Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error in functions.php. Please help!!’ is closed to new replies.