Adding slider to header.php
-
I cannot seem to replicate the solution mentioned in the thread ‘Create a widget area below header navigation menu’.
I want to add a slider to my clients site as per this site: https://www.superiordrainservice.com/
My code looks like this:
‘<?php } ?>
<?php if ( is_home() || is_front_page() ) { ?>
<?php if ( get_header_image() != ” ) { ?>
<div class=”header-image”><?php if( function_exists(‘cyclone_slider’) ) cyclone_slider(‘home_slider’); ?></div>
<?php } ?>
<?php } else { ?>
<?php if ( get_header_image() != ” && $brickyard_options_db[‘brickyard_display_header_image’] != ‘Only on Homepage’ ) { ?>
<div class=”header-image”><img src=”<?php header_image(); ?>” alt=”<?php bloginfo( ‘name’ ); ?>” /></div>
<?php } ?>
<?php } ?>’The web address is: https://www.sailingfuncroatia.co.uk/ (although there is nothing to look at yet).
Any ideas as to what is wrong?
Thanks,
Jonathan
- The topic ‘Adding slider to header.php’ is closed to new replies.