Exemplo n.º 1
0
    ?>
		<div class="clear"></div>
	</div> <!-- page wrapper -->
	</div> <!-- post class -->
	<?php 
} else {
    ?>

	<?php 
    // Check and get Sidebar Class
    $sidebar = get_post_meta($post->ID, 'post-option-sidebar-template', true);
    if (empty($sidebar)) {
        global $default_post_sidebar;
        $sidebar = $default_post_sidebar;
    }
    $sidebar_array = gdl_get_sidebar_size($sidebar);
    // Translator words
    if ($gdl_admin_translator == 'enable') {
        $translator_about_author = get_option(THEME_SHORT_NAME . '_translator_about_author', 'About the Author');
        $translator_social_share = get_option(THEME_SHORT_NAME . '_translator_social_shares', 'Social Share');
    } else {
        $translator_about_author = __('About the Author', 'gdl_front_end');
        $translator_social_share = __('Social Share', 'gdl_front_end');
    }
    ?>
	<div id="post-<?php 
    the_ID();
    ?>
" <?php 
    post_class();
    ?>
Exemplo n.º 2
0
<?php

/**
 * 404 ( Not fount page )
 */
get_header();
?>

<div class="content-outer-wrapper">
	<div class="content-wrapper container main ">
	<?php 
// Check and get Sidebar Class
$sidebar_array = gdl_get_sidebar_size('no-sidebar');
global $gdl_admin_translator;
if ($gdl_admin_translator == 'enable') {
    $translator_404_title = get_option(THEME_SHORT_NAME . '_404_title', 'Page Not Found');
    $translator_404_content = get_option(THEME_SHORT_NAME . '_404_content', 'The page you are looking for doesn\'t seem to exist.');
} else {
    $translator_404_title = __('Page Not Found', 'gdl_front_end');
    $translator_404_content = __('The page you are looking for doesn\'t seem to exist.', 'gdl_front_end');
}
?>
		
	<div class="page-wrapper sitemap-page <?php 
echo $sidebar_array['sidebar_class'];
?>
">
		<?php 
echo '<div class="row gdl-page-row-wrapper">';
echo '<div class="gdl-page-left mb0 ' . $sidebar_array['page_left_class'] . '">';
echo '<div class="row">';