Confusing Syntax Error
-
Parse error: syntax error, unexpected ‘.’ in /home/dervopms/miosuperhealth.com/wp-content/themes/dyad/inc/customizer.php on line 27
I get this error after I tried to change some code in my customizer.php file. Whenever I try to visit my site or change anything this error occurs.
I know I have to change something via the CPanel but I don’t know exactly what. Here is my customizer.php code:
<?php /** * Dyad Theme Customizer * * @package Dyad */ /** * Add postMessage support for site title and description for the Theme Customizer. * * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ function dyad_customize_register( $wp_customize ) { $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; } add_action( 'customize_register', 'dyad_customize_register' ); /** * Binds JS handlers to make Theme Customizer preview reload changes asynchronously. */ function dyad_customize_preview_js() { wp_enqueue_script( 'dyad_customizer', get_template_directory_uri() . '/js/customizer.js', array( 'customize-preview' ), '20130508', true ); } add_action( 'customize_preview_init', 'dyad_customize_preview_js' ); .is-singular .entry-media { display: none; } @media screen and (min-width: 960px) { .is-singular:not(.home) .site-inner { width: 100% !important; } .has-post-thumbnail.is-singular:not(.home):not(.single-format-image) .entry-header, .has-post-thumbnail .entry-meta .cat-links { position: relative; background: transparent; color: #000 !important; width: 100%; text-align: center; } .has-post-thumbnail.is-singular:not(.home):not(.single-format-image) .entry-header a, .has-post-thumbnail.is-singular:not(.home):not(.single-format-image) .entry-header h1, .has-post-thumbnail.is-singular:not(.home):not(.single-format-image) .entry-header a { color: #000 !important; text-align: center; } .is-singular.has-post-thumbnail:not(.single-format-image) .entry-posted .posted-info, .is-singular.has-post-thumbnail:not(.single-format-image) .entry-posted .edit-link { float: none; text-align: center; } .has-post-thumbnail.is-singular:not(.home):not(.single-format-image) .entry-header { padding-top: 3em; } }
Maybe someone can find the error and help me.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Confusing Syntax Error’ is closed to new replies.