function rt_woocommerce_output_content_wrapper_end() { global $sidebar; echo '</div><div class="space margin-b20"></div>'; //call the sub content holder 2nd part sub_page_layout("subfooter", @$sidebar); }
//call sub page header get_template_part('sub_page_header', 'sub_page_header_file'); //call the sub content holder 1st part sub_page_layout("subheader", ""); ?> <div class="box one box-shadow"> <!-- page title --> <div class="head_text nomargin"> <div class="arrow"></div><!-- arrow --> <h2><?php printf(__('Search Results for: %s', 'rt_theme'), '<span>' . get_search_query() . '</span>'); ?> </h2> </div> <!-- /page title --> </div> <div class="space margin-b20"></div> <?php //call the posts get_template_part('list_loop', 'search'); //call the sub content holder 2nd part sub_page_layout("subfooter", ""); ?> <div class="space margin-b20"></div> <?php get_footer();
} } echo $template->heading ? '<h3>' . wpml_t(THEMESLUG, 'Title for Code Box ' . $selectedTemplate->templateID . $group_id, stripslashes($template->heading)) . '</h3><div class="space margin-b10"></div>' : ""; echo $template->code_space ? wpml_t(THEMESLUG, 'Description for Code Box ' . $selectedTemplate->templateID . $group_id, apply_filters('the_content', stripslashes($template->code_space))) : ""; echo '</div>'; } if ($reset) { //end fixed row holder if ($template->content_type != "default_content" && $template->content_type != "blog_box") { echo '</div>'; } //end fix and space if (isset($woo_module_used_in_template) && $woo_module_used_in_template == "TRUE" && $layout == "one") { echo '<div class="space margin-b10"></div>'; $woo_module_used_in_template = ""; } else { echo '<div class="space margin-b30"></div>'; } } $emptyContent = false; @($woocommerce_loop["loop"] = 0); $woocommerce_loop['columns'] = ""; //resetting WooCommerce Columns $boxNumber++; } } # # Call the holder's 2nd part # sub_page_layout("subfooter", $sidebar);
<?php # # rt-theme 404 # get_header(); //call sub page header get_template_part('sub_page_header', 'sub_page_header_file'); //call the sub content holder 1st part sub_page_layout("subheader", "full"); ?> <div class="box one box-shadow"> <div class="aligncenter"> <h1 style="font-size:120px;">404</h1> <h6><?php _e('Apologies, but the page you requested could not be found. Perhaps searching will help.', 'rt_theme'); ?> </h6><br /><br /><br /> </div> </div> <div class="space margin-b30"></div> <?php //call the sub content holder 2nd part sub_page_layout("subfooter", "full"); ?> <?php get_footer();