Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // load the theme options
- $options = get_option( 'complete_theme_settings' );
- ?>
- <?php get_header(); ?>
- <?php if($options['home_blog_style'] != true) { ?>
- <div id="main" class="clearfix main-no-bg">
- <div id="home-business-wrap">
- <?php if($options['home_section_1'] != '') {
- include( TEMPLATEPATH . '/includes/home-modules/home-'. $options['home_section_1'] .'.php'); } ?>
- <?php if($options['home_section_2'] != '') {
- include( TEMPLATEPATH . '/includes/home-modules/home-'. $options['home_section_2'] .'.php'); } ?>
- <?php if($options['home_section_3'] != '') {
- include( TEMPLATEPATH . '/includes/home-modules/home-'. $options['home_section_3'] .'.php'); } ?>
- </div>
- <!-- END home-business-wrap -->
- <?php } else { ?>
- <div id="main" class="clearfix">
- <?php include( TEMPLATEPATH . '/includes/blog.php'); ?>
- <?php } ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement