Showing All the Posts in the Loop
<p>this code here </p>

<pre><code>&lt;div class="col"&gt;
        &lt;?php gab_dynamic_sidebar('Subnews1');?&gt;

        &lt;?php
        $postnr = of_get_option('of_wn_nr8') + of_get_option('of_wn_nr8a');
        if (intval($postnr) &gt; 0 ) { ?&gt;
            &lt;span class="catname"&gt;&lt;a href="&lt;?php echo get_category_link(of_get_option('of_wn_cat8'));?&gt;"&gt;&lt;?php echo get_cat_name(of_get_option('of_wn_cat8')); ?&gt;&lt;/a&gt;&lt;/span&gt;
            &lt;?php
            $count = 1;
            $args = array(
             'post__not_in'=&gt;$do_not_duplicate,
              'posts_per_page' =&gt; $postnr,
              'cat' =&gt; of_get_option('of_wn_cat8', 1)
            );
            $gab_query = new WP_Query();$gab_query-&gt;query($args); 
            while ($gab_query-&gt;have_posts()) : $gab_query-&gt;the_post(); if (of_get_option('of_dnd') == 1) { $do_not_duplicate[] = $post-&gt;ID; }
            ?&gt;
            &lt;div class="featuredpost&lt;?php if($count == of_get_option('of_wn_nr8') or $count == $postnr) { echo ' lastpost'; } ?&gt;"&gt;


                &lt;?php if ($count &lt;= of_get_option('of_wn_nr8')) { ?&gt;

                    &lt;h2 class="posttitle"&gt;
                        &lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="&lt;?php printf( esc_attr__( 'Permalink to %s', 'wpnewspaper' ), the_title_attribute( 'echo=0' ) ); ?&gt;" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
                    &lt;/h2&gt;                       
                    &lt;div class="opinion_wrapper"&gt;
                    &lt;?php
                        gab_media(array(   'imgtag' =&gt; 1,   'link' =&gt; 1,
                            'name' =&gt; 'wn-subnews',
                            'enable_video' =&gt; 0,
                            'catch_image' =&gt; of_get_option('of_catch_img', 0),
                            'enable_thumb' =&gt; 1,
                            'resize_type' =&gt; 'c',
                            'media_width' =&gt; 120, 
                            'media_height' =&gt; 103, 
                            'thumb_align' =&gt; 'alignleft',
                            'enable_default' =&gt; 0
                        ));
                    ?&gt;  
                    &lt;div class="opinion_marker"&gt;&lt;!-- opinion marker --&gt;&lt;/div&gt;                   
                    &lt;/div&gt;
                    &lt;p&gt;&lt;?php echo string_limit_words(get_the_excerpt(),27); ?&gt;&amp;hellip;&lt;/p&gt;

                    &lt;?php gab_postmeta(); ?&gt;
                &lt;?php } else { ?&gt;

                    &lt;a class="listtitle" href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="&lt;?php printf( esc_attr__( 'Permalink to %s', 'wpnewspaper' ), the_title_attribute( 'echo=0' ) ); ?&gt;" &gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;

                &lt;?php } ?&gt;

            &lt;/div&gt;&lt;!-- .featuredpost --&gt;
            &lt;?php $count++; endwhile; wp_reset_query(); ?&gt;
        &lt;?php } ?&gt;
    &lt;/div&gt;&lt;!-- .col --&gt;
</code></pre>

<p>, is this, shown in this image here <a href="http://d.pr/i/7efk" rel="nofollow">http://d.pr/i/7efk</a> , </p>

<p>on this site <a href="http://dev.dmichel.net/adv/" rel="nofollow">http://dev.dmichel.net/adv/</a> . </p>

<p>what i need to happen is to show all 4 posts, rather than just 1.</p>

<p>What I tried to do to show all 4 posts is this</p>

<pre><code>&lt;?php
            $count = 1;
            $args = array(
              'posts_per_page' =&gt; 4,
              'cat' =&gt; of_get_option('of_wn_cat8', 1)
            );
            $gab_query = new WP_Query();$gab_query-&gt;query($args); 
            while ($gab_query-&gt;have_posts()) : $gab_query-&gt;the_post(); }
            ?&gt;
</code></pre>

<p>But it doesn't seem to work.</p>

<p>I'd like help showing all 4 posts above the titles</p>
