Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- Template Name: Full-width
- */
- ?>
- <?php get_header(); the_post(); ?>
- <?php if(is_home() || is_front_page()): ?>
- <?php include 'billboard.php' ?>
- <?php if(get_option('uds-hp-show-posts') == true): ?>
- <?php include 'post-loop.php' ?>
- <?php else: ?>
- <div id="content">
- <div class="page">
- <div class="homer">
- <?php the_content() ?>
- </div>
- <div class="custom-home">
- <!--This is where you are going to adding the content-->
- <?php $customField = get_post_custom_values("custom-content-1");
- if (isset($customField[0])) {
- echo $customField[0];
- }
- ?>
- </div>
- </div>
- <div class="clear"></div>
- </div>
- <?php endif; ?>
- <?php else: ?>
- <?php $custom = get_post_custom() ?>
- <?php if(!empty($custom['heading'][0])): ?>
- <div class="content-heading">
- <?php echo $custom['heading'][0]?>
- </div>
- <?php endif; ?>
- <div id="content">
- <div class="page">
- <?php the_content() ?>
- </div>
- </div>
- <?php endif; ?>
- <?php get_footer() ?>
Add Comment
Please, Sign In to add comment