Single v1

-commentaires cachés
-settings
-3 lightbox
-enqueue js et css
This commit is contained in:
2017-01-16 06:32:13 +01:00
parent 1fa1f61d0e
commit 6df0f90b09
68 changed files with 3312 additions and 402 deletions

View File

@@ -46,14 +46,22 @@ $the_query = new WP_Query( $slider );
<div class="container">
<?php
$blog_args = array(
/*
'post_type' => 'post',
'posts_per_page' => 7,
'paged' => ( get_query_var('paged') ? get_query_var('paged') : 1),
'ignore_sticky_posts' => true,
/*
*/
'meta_key' => 'ex_show_in_homepage',
'meta_value' => 'yes',
*/
'meta_value' => 'no'
/*
'meta_query' => array(
array(
'key' => 'ex_show_in_homepage',
'value' => 'Yes',
'compare' => '!='
),
*/
);
$blog = new WP_Query( $blog_args );
if ( $blog->have_posts() ) :
@@ -95,7 +103,7 @@ $the_query = new WP_Query( $slider );
<?php endif; ?>
<?php if ( dess_setting('dess_hometext') !='' ) : ?>
<div class="feature-text-area">
<h3><?php echo dess_setting('dess_hometext'); ?></h3>
<h3><?php echo dess_setting('dess_hometext'); ?>blabla</h3>
</div><!-- feature-text-area -->
<?php endif; ?>
<?php