Note that there are some explanatory texts on larger screens.

plurals
  1. POPagination not working properly on author and category archives
    text
    copied!<p>I've made a category page that has pagination on the bottom of it. Everytime i try to go to page 2, the URL structure changes but the posts from my loop do not. The pagination is working fine for the blog page with almost the exact same loop. Any hints to what I could be doing wrong? I am also using the Wp-Paginate plug in.</p> <pre><code>&lt;ul class="blogpostings"&gt; &lt;?php if (have_posts()) : ?&gt; &lt;?php while (have_posts()) : the_post();?&gt; &lt;li&gt; &lt;?php if ( has_post_thumbnail() ):?&gt; &lt;?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id, 'thumbnail', true); echo '&lt;a href="' . get_permalink($post-&gt;ID) . '" title="' . get_the_title($post-&gt;ID) . '"&gt;&lt;img src="' . $image_url[0] . '" title="' . get_the_title($post-&gt;ID) . '" alt="' . get_the_title($post-&gt;ID) . '" /&gt;&lt;/a&gt;'; ?&gt; &lt;?php endif; ?&gt; &lt;h2&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" rel="bookmark" title="Permanent Link to &lt;?php the_title_attribute(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;&lt;br/&gt; &lt;h3&gt;&lt;?php the_author_posts_link(); ?&gt; &lt;span class="date"&gt;| &lt;?php the_time('F d, Y') ?&gt; |&lt;/span&gt; &lt;?php comments_popup_link('Post Comment', '1 Comment &amp;#187;', '% Comments &amp;#187;'); ?&gt; &lt;fb:like href="&lt;?php the_permalink() ?&gt;" layout="button_count" width="100" font="lucida grande"&gt;&lt;/fb:like&gt; &lt;/h3&gt; &lt;?php the_excerpt(); ?&gt; &lt;p class="postreadmore"&gt;&lt;a href="&lt;?php the_permalink() ?&gt;" class="arrow"&gt; Read More &lt;/a&gt;&lt;/p&gt; &lt;/li&gt; &lt;?php endwhile; ?&gt; &lt;/ul&gt; &lt;?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?&gt; &lt;?php if(function_exists('wp_paginate')) { wp_paginate(); } ?&gt; &lt;?php } ?&gt; &lt;?php endif; ?&gt; &lt;/div&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload