syntax error, unexpected end of file
-
Hi there,
Not sure if this question is relevant but we searched everywhere for a solution, unable up to this point to get it sorted.
Is there a way to show a different logo for a custom post type than to the rest of our site? The custom post type is created with CPTUI…
We have tried the following:
if ( is_singular('customer') ) { ?> <img src="<?php bloginfo('template_directory'); ?>/dist/images/logo-customer.png" alt="Logo Customer"> <?php } else { ?> <img src="<?php bloginfo('template_directory'); ?>/dist/images/logo.png" alt="Logo"> }When adding this to functions.php we get an error “syntax error, unexpected end of file”
Would you be able to assist?
Kind regards
Francois Wessels
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘syntax error, unexpected end of file’ is closed to new replies.