Created
October 29, 2013 20:23
-
-
Save Rchristiani/7221915 to your computer and use it in GitHub Desktop.
PHP: My Code Snippet
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
<div class="alignright"> | |
<?php | |
if($data['header_right_content'] == 'Contact Info') { | |
get_template_part('framework/headers/header-info'); | |
} elseif($data['header_right_content'] == 'Social Links') { | |
get_template_part('framework/headers/header-social'); | |
} elseif($data['header_right_content'] == 'Navigation') { | |
get_template_part('framework/headers/header-menu'); | |
} | |
?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment