title: How can I hide slider from the blog pages except the first blog page?
body: <p>How I can hide top slider in Wordpress form my 2,3,4... blog page with php? This is my script: </p>
  
  <pre><code>&lt;section id="blog"&gt;
         &lt;div class="owl-carousel"&gt;
            &lt;?php $loop = new WP_Query(array('post_type' =&gt; 'post', 'posts_per_page' =&gt; -1, 'orderby'=&gt; 'ASC')); ?&gt; 
            &lt;?php while ( $loop-&gt;have_posts() ) : $loop-&gt;the_post(); ?&gt;
               &lt;div class="recent-post"&gt;
                  &lt;div class="home-slider-img"&gt;
                      &lt;?php echo the_post_thumbnail(); ?&gt;
                  &lt;/div&gt; 
                  &lt;div class="feat-overlay"&gt;
                      &lt;div class="feat-overlay-inner"&gt; 
                          &lt;div class="post-header"&gt;                     
                              &lt;span class="cat"&gt;&lt;?php the_category(', ') ?&gt;&lt;/span&gt;
                              &lt;h4&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php print get_the_title(); ?&gt;&lt;/a&gt;&lt;/h4&gt;
                              &lt;span class="date"&gt;&lt;?php the_time('M j, Y') ?&gt;&lt;/span&gt;
                              &lt;p&gt;&lt;a class="read-more" href="&lt;?php print get_permalink($post-&gt;ID) ?&gt;"&gt;Read More&lt;/a&gt;&lt;/p&gt;
                          &lt;/div&gt;      
                      &lt;/div&gt;  
                  &lt;/div&gt;
              &lt;/div&gt;
            &lt;?php endwhile; ?&gt;
         &lt;/div&gt;
      &lt;/section&gt;
  </code></pre>