equal
deleted
inserted
replaced
116 'screen' |
116 'screen' |
117 ); |
117 ); |
118 |
118 |
119 add_action('wp_footer','pikslider_script',30); |
119 add_action('wp_footer','pikslider_script',30); |
120 // HTML |
120 // HTML |
121 $slides = new WP_query('post_type=slide&posts_per_page=10'); |
121 $slides = new WP_query('post_type=slide&posts_per_page=100'); |
122 ?> |
122 ?> |
123 <div id="pikslider"> |
123 <div id="pikslider"> |
124 <ul> |
124 <ul> |
125 <?php |
125 <?php |
|
126 |
126 while($slides->have_posts()){ |
127 while($slides->have_posts()){ |
127 $slides->the_post(); |
128 $slides->the_post(); |
128 global $post; |
129 global $post; |
129 //détection de la langue |
130 //détection de la langue |
130 if (class_exists('xili_language')) { |
131 if (class_exists('xili_language')) { |