Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Template Name: Business Template
- get_header();
- get_template_part('index', 'static');
- $quality_pro_options=theme_data_setup();
- $current_options = wp_parse_args( get_option( 'quality_pro_options', array() ), $quality_pro_options );
- //****** get index service *********/
- if ( $current_options['service_enable'] == true ) {
- get_template_part('index', 'service');
- }
- //****** get index Projects *********/
- if ( $current_options['home_projects_enabled'] == true ) {
- get_template_part('index', 'projects');
- }
- //****** get index Blog *********/
- if ( $current_options['home_blog_enabled'] == true ) {
- get_template_part('index', 'blog');
- }
- get_footer();
- ?>
- <?php the_content(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement