Created
June 27, 2019 19:31
-
-
Save geektutor/ab9396a0ef1ddd7b11437c5b2649264e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Add the featured image section */ | |
add_action( 'genesis_after_header', 'full_featured_image' ); | |
function full_featured_image() { | |
if ( is_front_page() ) { | |
echo '<div id="full-image"><img src="https://unilagconsult.com.ng/cybercamp19/wp-content/uploads/2019/06/ux-unilag-consult-banner.jpg" /></div>'; | |
} | |
elseif ( is_page('1543') ){ | |
echo '<div class="a"><p>Contact Us </p></div>'; | |
} | |
elseif ( is_page('1583') ){ | |
echo '<div class="a"><p>FAQ</p></div>'; | |
} | |
elseif ( is_page('1581') ){ | |
echo '<div class="a"><p>SHOWCASE</p></div>'; | |
} | |
elseif ( is_page('1578') ){ | |
echo '<div class="a"><p>MEET THE TEAM</p></div>'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment