Example #1
0
// Dynamic style for main area.
$main_style = '';
$main_class = '';
if (empty($blogcentral_opts['show_sidebar'])) {
    $main_style = ' style="width:100%;" ';
    $main_class = ' class="no-sidebar"';
} else {
    $main_class = ' class="show-sidebar"';
}
if (isset($blogcentral_opts['show_color_chooser'])) {
    // Display the dynamic color chooser.
    blogcentral_output_color_chooser();
}
$page_header_title = sprintf(__('Tag Archives: %s', BLOGCENTRAL_TXT_DOMAIN), single_tag_title('', false));
// Output precontent area.
blogcentral_output_precontent_frag($blogcentral_opts, $page_header_title);
?>
<div id="main-content"<?php 
echo $main_class;
?>
>
	<div<?php 
echo $main_style;
?>
 id="main-area">
		<div class="gutter">
			<?php 
if (!isset($blogcentral_opts["page_header"]) || is_active_sidebar('precontent-widget')) {
    ?>
			<header class="page-header">
				<h1 class="page-title"><?php 
include locate_template('/templates/layout-wrapper-begin.php', false, false);
// Dynamic style for main area.
$main_style = '';
$main_class = '';
if (!isset($blogcentral_opts['show_sidebar'])) {
    $main_style = ' style="width:100%;" ';
    $main_class = ' class="no-sidebar"';
} else {
    $main_class = ' class="show-sidebar"';
}
if (isset($blogcentral_opts['show_color_chooser'])) {
    // Display the dynamic color chooser.
    blogcentral_output_color_chooser();
}
// Output precontent area
blogcentral_output_precontent_frag($blogcentral_opts, __('Full Width Blog', BLOGCENTRAL_TXT_DOMAIN));
?>
			
<div id="main-content"<?php 
echo $main_class;
?>
>
	<div<?php 
echo $main_style;
?>
 id="main-area">
		<div class="gutter" style="width:100%; padding:0; margin:0;">
			<div id="main-posts-cont">
			<?php 
if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('main-widget')) {
    // Output the wrapping <div> and beginning <ul> tags, with necessary attributes.
Example #3
0
get_header();
// Dynamic style for main area.
$main_style = '';
$main_class = '';
if (empty($blogcentral_opts['show_sidebar'])) {
    $main_style = ' style="width:100%;" ';
    $main_class = ' class="no-sidebar"';
} else {
    $main_class = ' class="show-sidebar"';
}
if (isset($blogcentral_opts['show_color_chooser'])) {
    // Display the dynamic color chooser.
    blogcentral_output_color_chooser();
}
// Output the precontent area.
blogcentral_output_precontent_frag($blogcentral_opts, __('Not Found', BLOGCENTRAL_TXT_DOMAIN));
?>
		
<div id="main-content"<?php 
echo $main_class;
?>
>
	<div<?php 
echo $main_style;
?>
 id="main-area">
		<div class="gutter">
			<?php 
// Display the page header in the main area if not displaying in the precontent area.
if (!isset($blogcentral_opts["page_header"]) || is_active_sidebar('precontent-widget')) {
    ?>
 * Use this template to create an about me page. It is recommended that you create a backup copy of this file
 * before modifying, and modify very carefully, as you might delete important layout data.
 *
 * @since BlogCentral 1.0.0
 *
 * @package BlogCentral
 * @subpackage page-template-about-me.php
 */
// Display the header and call wp_head().
get_header();
if (isset($blogcentral_opts['show_color_chooser'])) {
    // Display the dynamic color chooser.
    blogcentral_output_color_chooser();
}
// Output precontent area.
blogcentral_output_precontent_frag($blogcentral_opts, __('About Me', BLOGCENTRAL_TXT_DOMAIN), true);
?>
<div id="main-content" class="about-me-template full-width"> 
	<!-- Start about-me section -->
	<div class="section components-wrap layout2 layout3">
		<ul class="components-list">
			<li class="component layout2 layout3 auto-width">
				<div class="component-media-wrap opp">
					<!-- Image that goes with the description below, change to suit your needs.	-->
					<img src="<?php 
echo BLOGCENTRAL_THEME_URL;
?>
/images/preview/hatback.jpg" alt="<?php 
_e('hat back', BLOGCENTRAL_TXT_DOMAIN);
?>
" />
get_header();
// Dynamic style for main area.
$main_style = '';
$main_class = '';
if (!isset($blogcentral_opts['show_sidebar'])) {
    $main_style = ' style="width:100%;" ';
    $main_class = ' class="contact-page no-sidebar"';
} else {
    $main_class = ' class="contact-page show-sidebar"';
}
if (isset($blogcentral_opts['show_color_chooser'])) {
    // Display the dynamic color chooser.
    blogcentral_output_color_chooser();
}
// Output precontent area
blogcentral_output_precontent_frag($blogcentral_opts, __('Contact', BLOGCENTRAL_TXT_DOMAIN));
?>
		
<div id="main-content"<?php 
echo $main_class;
?>
 >
	<div<?php 
echo $main_style;
?>
 id="main-area">
		<div class="gutter">
		<?php 
while (have_posts()) {
    the_post();
    get_template_part('content-page');