Parse error: syntax error
-
Hello,
could some one help me out, I am wanting to add a logo upload to the customizer.
When I add the code to my functions file I get this error message.Parse error: syntax error, unexpected ‘<‘ in /homepages/26/d615387993/htdocs/clickandbuilds/CircleofMotherEarth/wp-content/themes/twentysixteen-child/functions.php on line
<?php /** * Add logo without Jetpack */ add_action( 'init', 'storefront_custom_logo' ); function storefront_custom_logo() { remove_action( 'storefront_header', 'storefront_site_branding', 20 ); add_action( 'storefront_header', 'storefront_display_custom_logo', 20 ); } function storefront_display_custom_logo() { ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="site-logo-link" rel="home"> <img src="<?php echo get_stylesheet_directory_uri(); ?>/images/logo.png" alt="<?php echo get_bloginfo( 'name' ); ?>" /> </a> <?php }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Parse error: syntax error’ is closed to new replies.