<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress.com Forums &#187; Topic: Can&#039;t get pagination to work properly</title>
		<link>http://en.forums.wordpress.com/topic/cant-get-pagination-to-work-properly</link>
		<description>WordPress.com Forums &#187; Topic: Can&#039;t get pagination to work properly</description>
		<language>en</language>
		<pubDate>Tue, 21 May 2013 16:36:17 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/topic/cant-get-pagination-to-work-properly" rel="self" type="application/rss+xml" />

		<item>
			<title>supportbot on "Can&#039;t get pagination to work properly"</title>
			<link>http://en.forums.wordpress.com/topic/cant-get-pagination-to-work-properly#post-1103605</link>
			<pubDate>Wed, 26 Dec 2012 06:47:41 +0000</pubDate>
			<dc:creator>supportbot</dc:creator>
			<guid isPermaLink="false">1103605@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>You did not specify a blog address or reason for posting when you created this topic.</p>
<p>This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you'll find help at the <a href="http://wordpress.org/support/">WordPress.org forums</a>.</p>
<p>If you don't understand the difference between WordPress.com and WordPress.org, you may find <a href="http://support.wordpress.com/com-vs-org/">this information</a> helpful.</p>
<p>If you forgot to include a link to your blog, you can reply and include it below.  It'll help people to answer your question.</p>
<p>This is an automated message.
</p>
]]></description>
					</item>
		<item>
			<title>grovile on "Can&#039;t get pagination to work properly"</title>
			<link>http://en.forums.wordpress.com/topic/cant-get-pagination-to-work-properly#post-1103604</link>
			<pubDate>Wed, 26 Dec 2012 06:47:40 +0000</pubDate>
			<dc:creator>grovile</dc:creator>
			<guid isPermaLink="false">1103604@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>i am currently using 2 loops on my custom theme,<br />
what i want to achieve is to have my sticky posts presented on a content slider, while my regular posts apearr normaly. So far i have achieved that but my problem is now that i want to add pagination to it, it eather won't appear or i go to the next page (page 2) with the exact same blog posts so basicly only the url has changed :s<br />
this is my code so far </p>
<p><code>&lt;?php get_header() ?&gt;&lt;br /&gt;
&lt;!--SLIDER--&gt;&lt;br /&gt;
	&lt;div id=&quot;featured&quot;&gt;&lt;br /&gt;
		&lt;?php&lt;br /&gt;
			$sticky = get_option( &#039;sticky_posts&#039; ); // Get all sticky posts&lt;br /&gt;
			rsort( $sticky ); // Sort the stickies, latest first&lt;br /&gt;
			$sticky = array_slice( $sticky, 0, 5 ); // Number of stickies to show&lt;br /&gt;
			query_posts( array( &#039;post__in&#039; =&gt; $sticky, &#039;caller_get_posts&#039; =&gt; 1 ) ); // The query&lt;/p&gt;
&lt;p&gt;			if (have_posts() ) { while ( have_posts() ) : the_post(); ?&gt;&lt;br /&gt;
				&lt;a&gt;&quot;&gt;&lt;br /&gt;
					&lt;div id=&quot;post-&lt;?php the_ID() ?&gt;&quot; class=&quot;sticky&quot; style=&quot;background-image: url(&#039;&lt;?php echo wp_get_attachment_url( get_post_thumbnail_id() ) ?&gt;&#039;);&quot;&gt;&lt;br /&gt;
						&lt;div class=&quot;sticky-title&quot;&gt;&lt;br /&gt;
							&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;&lt;br /&gt;
						&lt;/div&gt;&lt;br /&gt;
					&lt;/div&gt;&lt;br /&gt;
				&lt;/a&gt;&lt;br /&gt;
			&lt;?php endwhile;?&gt;&lt;br /&gt;
		&lt;?php } else { echo &quot;&quot;; }?&gt;&lt;br /&gt;
	&lt;/div&gt;&lt;br /&gt;
&lt;!--SLIDER--&gt;&lt;/p&gt;
&lt;p&gt;	&lt;div id=&quot;content&quot;&gt;&lt;br /&gt;
		&lt;div id=&quot;post-head&quot;&gt;&lt;h1&gt;Nieuws&lt;/h1&gt;&lt;/div&gt;&lt;br /&gt;
		&lt;?php// if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;&lt;br /&gt;
		&lt;?php query_posts(array(&#039;post__not_in&#039; =&gt; $sticky )); while (have_posts()) : the_post();?&gt;&lt;br /&gt;
		&lt;div id=&quot;post-&lt;?php the_ID() ?&gt;&quot; class=&quot;post&quot;&gt;&lt;br /&gt;
			&lt;div class=&quot;post-thumb&quot;&gt;&lt;br /&gt;
				&lt;a&gt;&quot;&gt;&lt;br /&gt;
					&lt;div class=&quot;post-pic&quot;&gt;&lt;br /&gt;
						&lt;?php if ( has_post_thumbnail() ) { the_post_thumbnail(&#039;single-post-thumbnail&#039;); } else { ?&gt;&lt;br /&gt;
						&lt;p&gt;Geen afbeelding beschikbaar&lt;/p&gt;&lt;br /&gt;
						&lt;!--&lt;img src=&quot;&lt;?php //bloginfo(&#039;template_directory&#039;); ?&gt;/images/default.jpg&quot;  alt=&quot;&lt;?php //the_title(); ?&gt;&quot; /&gt;--&gt;&lt;br /&gt;
							&lt;?php } ?&gt;&lt;br /&gt;
					&lt;/div&gt;&lt;br /&gt;
				&lt;/a&gt;&lt;br /&gt;
			&lt;/div&gt;&lt;br /&gt;
			&lt;div class=&quot;post-container&quot;&gt;&lt;br /&gt;
				&lt;div class=&quot;post-title&quot;&gt;&lt;h2&gt;&lt;a&gt;&quot; title=&quot;&lt;?php the_title() ?&gt;&quot; rel=&quot;bookmark&quot;&gt;&lt;?php the_title() ?&gt;&lt;/a&gt;&lt;/h2&gt;&lt;/div&gt;&lt;br /&gt;
				&lt;div class=&quot;post-content&quot;&gt;&lt;br /&gt;
					&lt;?php the_excerpt(); ?&gt;&lt;br /&gt;
				&lt;/div&gt;&lt;br /&gt;
				&lt;div class=&quot;post-meta&quot;&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;img height=&quot;17&quot; width=&quot;20&quot; src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/images/comment.png&quot; /&gt; &lt;?php comments_popup_link(&#039; 0&#039;, &#039; 1&#039;, &#039;% Comments&#039;) ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;img height=&quot;17&quot; width=&quot;17&quot; src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/images/tag.png&quot; /&gt; &lt;?php the_category(&#039;, &#039;); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;img height=&quot;17&quot; width=&quot;19&quot; src=&quot;&lt;?php bloginfo(&#039;template_directory&#039;); ?&gt;/images/calendar.png&quot; /&gt; &lt;a&gt;&quot;&gt;&lt;?php the_time(&#039;F j, Y&#039;); ?&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;				&lt;/div&gt;&lt;br /&gt;
			&lt;/div&gt;&lt;br /&gt;
		&lt;/div&gt;&lt;br /&gt;
		&lt;?php endwhile ?&gt;&lt;br /&gt;
		&lt;div class=&quot;navigation&quot;&gt;&lt;br /&gt;
			&lt;div class=&quot;navleft&quot;&gt;&lt;?php next_posts_link(&#039;&#171; Older Posts&#039;, &#039;0&#039;) ?&gt;&lt;/div&gt;&lt;br /&gt;
			&lt;div class=&quot;navright&quot;&gt;&lt;?php previous_posts_link(&#039;Newer Posts &#187;&#039;, &#039;0&#039;) ?&gt;&lt;/div&gt;&lt;br /&gt;
		&lt;/div&gt;&lt;br /&gt;
	&lt;/div&gt;&lt;!-- #content --&gt;&lt;/p&gt;
&lt;p&gt;&lt;?php get_sidebar() ?&gt;&lt;br /&gt;
&lt;?php get_footer() ?&gt;&lt;br /&gt;
</code></p>
<p>I guess the problem must lie some where in this piece of code<br />
<code>&lt;?php query_posts(array(&#039;post__not_in&#039; =&gt; $sticky )); while (have_posts()) : the_post();?&gt;</code>
</p>
]]></description>
					</item>

	</channel>
</rss>
