How to display all posts in WordPress?
<p>I want to display all post in my WordPress home page.</p>

<p>I have written following query for getting all post but I do not get all posts. It just displays 10 or 11 posts: </p>

<pre><code> $args = array(
                'post_type' =&gt; 'post',
                'posts_per_page' =&gt; $number,
                'order' =&gt; $sort_by,
                'orderby' =&gt; 'title',
                'post_status' =&gt; 'publish',
                'tag' =&gt; $tags,
                'ignore_sticky_posts' =&gt; 1,
                );
 $args['tax_query'] =  array(
                    array(
                    'taxonomy' =&gt; 'post_format',
                    'field' =&gt; 'slug',
                    'terms' =&gt; 'post-format-video',
                    ));
 $query = new WP_Query($args);
</code></pre>

<p>So please let me know how can I get all posts.</p>