I don't see the variable $additional_loop being set anywhere in your code. If you're comfortable with WP-Pagenavi, install it and modify your code as follows:

&lt;?php
    //You need to handle the 'paged' query var for pagination!
    $paged = (get_query_var('paged'))?get_query_var('paged'):1;
    $loop = new WP_Query(array('post_type' =&gt; 'portfolio', 'posts_per_page' =&gt; 2, 'paged' =&gt; $paged)); 
?&gt;


Replace the following:

&lt;!-- Next/Previous Posts --&gt;
&lt;?php if (function_exists("pagination")) {
    pagination($additional_loop-&gt;max_num_pages);
} ?&gt;


With:

&lt;?php
    if(function_exists('wp_pagenavi'))
    { 
        wp_pagenavi(); 
    }
    else
    { ?&gt;
        &lt;div class="navigation"&gt;
        &lt;div class="alignleft"&gt;&lt;?php next_posts_link('Previous entries') ?&gt;&lt;/div&gt;
        &lt;div class="alignright"&gt;&lt;?php previous_posts_link('Next entries') ?&gt;&lt;/div&gt;
        &lt;/div&gt;
    &lt;?php }
?&gt;


Hope this helps!

Next & Previous (Pagination in this case) Not Appearing
I just failed these review audits in First Post, I read the question and thought it seemed reasonable but the user was deleted so to be on the safe side I clicked add comment and I failed the audit.

I'm not sure why adding a comment would be considered a negative action, is the correct option to click No Action Needed or edit?

What was I supposed to do in this situation?  Adding a comment should not be a review audit fail.
