Single v1
-commentaires cachés -settings -3 lightbox -enqueue js et css
This commit is contained in:
16
index.php
16
index.php
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user