Exemple #1
0
} else {
    if (in_array($crop_images, array('1', 'yes', 'true'))) {
        $crop_width = ts_option_vs_default('cropped_featured_image_width_full', 1100, true);
        $crop_height = ts_option_vs_default('cropped_featured_image_height_full', 540, true);
    } else {
        $crop_width = ts_option_vs_default('cropped_featured_image_width_full', 1100, true);
        $crop_height = 0;
    }
}
get_header();
get_template_part('top');
get_template_part('title-page');
?>
   
            <div id="main-container-wrap" class="<?php 
echo esc_attr(ts_main_container_wrap_class());
?>
">                     
            <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
                <div id="main-container" class="container clearfix">
                    <div id="main" class="<?php 
        echo esc_attr(ts_main_div_class());
        ?>
 clearfix">
                        <div class="entry single-entry clearfix">
                            <?php 
        if (ts_option_vs_default('show_images_on_post', 1) == 1) {
Exemple #2
0
?>
            <div class="tag-heading">
                <div class="container">
                    <p class="top-tagline">
                        We're a community for travelers and travel pros to share experiences and urban discoveries.<br>  Click <a href="<?php 
echo home_url();
?>
/upload">here</a> to add your own! Or <a href="<?php 
echo home_url();
?>
/trending">viewwhat's trending.</a> 
                    </p>
                </div>
            </div>
            <div id="main-container-wrap" class="<?php 
echo esc_attr(ts_main_container_wrap_class('page')) . ' ' . esc_attr($main_container_wrap_class);
?>
">
            <?php 
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
                
                <div id="main-container" class="container clearfix">
                    <div id="main" class="<?php 
        echo esc_attr(ts_main_div_class());
        ?>
 clearfix">
                        <div class="entry single-entry clearfix"> 
                            <div id="ts-post-content-sidebar-wrap" class="clearfix">