<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<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>Support Forum - Topic: How to use pages instead of posts for the Newscast slider?</title>
		<link>http://www.kriesi.at/support/topic/how-to-use-pages-instead-of-posts-for-the-newscast-slider</link>
		<description>Support Forum - Topic: How to use pages instead of posts for the Newscast slider?</description>
		<language>en-US</language>
		<pubDate>Fri, 24 May 2013 15:36:29 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.kriesi.at/support/search.php</link>
		</textInput>
		<atom:link href="http://www.kriesi.at/support/rss/topic/how-to-use-pages-instead-of-posts-for-the-newscast-slider" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "How to use pages instead of posts for the Newscast slider?"</title>
			<link>http://www.kriesi.at/support/topic/how-to-use-pages-instead-of-posts-for-the-newscast-slider#post-19903</link>
			<pubDate>Thu, 26 May 2011 12:35:46 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">19903@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;In index.php replace:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$additional_loop = new WP_Query(&#38;quot;cat=&#38;quot;.$k_option[&#38;#39;mainpage&#38;#39;][&#38;#39;feature_cats_final&#38;#39;].&#38;quot;&#38;amp;posts_per_page=&#38;quot;.$k_option[&#38;#39;mainpage&#38;#39;][&#38;#39;feature_count&#38;#39;]);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;with:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$additional_loop =  new WP_Query(array(&#38;#39;post_type&#38;#39; =&#38;gt; &#38;#39;page&#38;#39;, &#38;#39;posts_per_page&#38;#39; =&#38;gt; 5, &#38;#39;post__in&#38;#39; =&#38;gt; array(37,50,54,30,32)));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Instead of 37,50,etc. insert the ids of the pages you want to display. Set the posts_per_page parameter to the number of pages you want to show (i.e. 5).&#60;/p&#62;
&#60;p&#62;Where can I find the page id? &#60;/p&#62;
&#60;p&#62;Log in and go to the page which you want to add to the slider. Click on &#34;Edit Page&#34; in the top wordpress admin bar. You'll see that the url of the page editor contains a number (like &#60;a href=&#34;http://localhost/wp-admin/post.php?post=50&#38;amp;action=edit&#34; rel=&#34;nofollow&#34;&#62;http://localhost/wp-admin/post.php?post=50&#38;amp;action=edit&#60;/a&#62; ) - i.e. this page has the id 50. Note the ids and insert them like instructed above.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
