diff --git a/index.php b/index.php index 0023987..bd0e8d7 100644 --- a/index.php +++ b/index.php @@ -4,10 +4,29 @@
-
-
-
-
+ //شروع بخش اسلایدر + 'slider', + 'posts_per_page' => 4 + ); + $query = new WP_Query($args); + // The Query. + $the_query = new WP_Query( $args ); + + // The Loop. + if ( $the_query->have_posts() ) { + while ( $the_query->have_posts() ) { + $the_query->the_post();?> +
+ + //پایان بخش اسلایدر