n00b needs some PHP syntax guidance
<p>If you look at <a href="http://www.cruc.es/?paged=12/" rel="nofollow">http://www.cruc.es/?paged=12/</a> and go to the bottom of the page you'll see the bottom navigation with the next and previous options. I've been able to make the page numbers work by changing <em>page</em> to <em>paged=</em> in the code. I don't know enough about PHP to get the previous/next options to work. Any advice would be appreciated and I've pasted the code below.</p>

<p>Thank you</p>

<pre><code>    if ( $query-&gt;found_posts &gt; $query-&gt;query_vars["posts_per_page"] ) {
            echo '&lt;ul class="paging"&gt;';
            // Previous link?
            if ( $page &gt; 1 ) {
                    echo '&lt;li class="previous"&gt;&lt;a href="'.$baseURL.'/page/'.($page-1).'/'.$qs.'"&gt;previous&lt;/a&gt;&lt;/li&gt;';
            }
            // Loop through pages
            for ( $i=1; $i &lt;= $query-&gt;max_num_pages; $i++ ) {
                    // Current page or linked page?
                    if ( $i == $page ) {
                            echo '&lt;li class="active"&gt;'.$i.'&lt;/li&gt;';
                    } else {
                            echo '&lt;li&gt;&lt;a href="'.$baseURL.'/?paged='.$i.'/'.$qs.'"&gt;'.$i.'&lt;/a&gt;&lt;/li&gt;';
                    }
            }
            // Next link?
            if ( $page &lt; $query-&gt;max_num_pages ) {
                    echo '&lt;li&gt;&lt;a href="'.$baseURL.'/page/'.($page+1).'/'.$qs.'"&gt;next&lt;/a&gt;&lt;/li&gt;';
            }
            echo '&lt;/ul&gt;';
    }
</code></pre>
