Getting http 500 error
-
Hello, Im quite a novice when it comes to wordpress and I’ve run into a problem. I was trying to make only the header image show on the front page so I added:
<?php if(is_home) { ?> <div class="head-img"> ... </div> <!-- END Header --> <?php } ?> Around <?php $header_image = get_header_image(); if ( ! empty( $header_image ) ) : ?> <a>"><img src="<?php echo esc_url( $header_image ); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /></a> <?php } ?>It didnt work, and when I removed the the thing I added it now shows a http 500 error which wont go away.
Can anyone see in that last code-text what is wrong?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Getting http 500 error’ is closed to new replies.