Parse error: syntax error, unexpected $end in
-
Accidentally pasted the wrong code in the header php because I wanted to change the logo in the header. Yes, I just started to work with wordpress haha.
Unfortunately the display shows this >
Parse error: syntax error, unexpected $end inHere is the code:
[please mark any posted code – the code below is partially broken; http://codex.ww.wp.xz.cn/Forum_Welcome#Posting_Code ]
<?php if(get_option($shortname.'_custom_logo_url','') != "") { ?> <div align="center"><a>"><img src="<?php echo stripslashes(stripslashes(get_option($shortname.'_custom_logo_url',''))); ?>" class="logo" alt="logo" /></a></div> <?php } else { ?> <div align="center"><a href="http://www.galafotograafgroningen.nl"><img src="http://galafotograafgroningen.nl/wp-content/uploads/2013/04/logo1.png" class="logo" alt="logo" /></a></div>Does someone know which code should be replaced?
Thanks a lot in advance!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Parse error: syntax error, unexpected $end in’ is closed to new replies.