<?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: Putting Slider on other pages.</title>
		<link>http://www.kriesi.at/support/topic/putting-slider-on-other-pages-1</link>
		<description>Support Forum - Topic: Putting Slider on other pages.</description>
		<language>en-US</language>
		<pubDate>Sun, 19 May 2013 05:35:56 +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/putting-slider-on-other-pages-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Dude on "Putting Slider on other pages."</title>
			<link>http://www.kriesi.at/support/topic/putting-slider-on-other-pages-1#post-21542</link>
			<pubDate>Sat, 25 Jun 2011 13:54:39 +0000</pubDate>
			<dc:creator>Dude</dc:creator>
			<guid isPermaLink="false">21542@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;Hey,&#60;br /&#62;
currently it's not possible to use the slider on other pages. You can duplicate the slider code from index.php but it will display the same slider with the same content on every page then. If you want to add the slider to pages open up page.php and before following code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;!-- ###################################################################### --&#38;gt;
	&#38;lt;div id=&#38;quot;main&#38;quot;&#38;gt;
	&#38;lt;!-- ###################################################################### --&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;insert:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
		// FRONTPAGE SLIDESHOW
		//
		// check if slideshow should be displayed?
		if($k_option[&#38;#39;mainpage&#38;#39;][&#38;#39;slider&#38;#39;] != &#38;#39;none&#38;#39;) :
		?&#38;gt;
		&#38;lt;!-- FEATURED POST AREA ################################################### --&#38;gt;
		&#38;lt;div id=&#38;quot;feature_wrap&#38;quot;&#38;gt;
		&#38;lt;!-- ###################################################################### --&#38;gt;
			&#38;lt;div id=&#38;quot;featured&#38;quot; class=&#38;#39;&#38;lt;?php echo $k_option[&#38;#39;mainpage&#38;#39;][&#38;#39;slider&#38;#39;]; ?&#38;gt;&#38;#39;&#38;gt;

			&#38;lt;?php 

			//check slider and apply size to previe images
			$kimg = array(&#38;#39;shortcut&#38;#39; =&#38;gt; &#38;#39;L&#38;#39;, &#38;#39;overwrite&#38;#39; =&#38;gt; &#38;#39;none&#38;#39;);

			if($k_option[&#38;#39;mainpage&#38;#39;][&#38;#39;slider&#38;#39;] == &#38;#39;fadeslider&#38;#39;)
			{
				$kimg = array(&#38;#39;shortcut&#38;#39; =&#38;gt; &#38;#39;XL&#38;#39;, &#38;#39;overwrite&#38;#39; =&#38;gt; &#38;#39;none&#38;#39;);
			}

			// start the loop that gernerates the images
			$loopcount = 1;
			$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;]);
			if ($additional_loop-&#38;gt;have_posts()) :
			while ($additional_loop-&#38;gt;have_posts()) : $additional_loop-&#38;gt;the_post();

			$preview_image = kriesi_post_thumb($post-&#38;gt;ID, array(&#38;#39;size&#38;#39;=&#38;gt; array($kimg[&#38;#39;shortcut&#38;#39;],$kimg[&#38;#39;overwrite&#38;#39;]),
															&#38;#39;display_link&#38;#39; =&#38;gt; array(&#38;#39;none&#38;#39;),
															&#38;#39;wh&#38;#39; =&#38;gt; $k_option[&#38;#39;custom&#38;#39;][&#38;#39;imgSize&#38;#39;][$kimg[&#38;#39;shortcut&#38;#39;]]
															));

			// Featured Entry:
			?&#38;gt;
				&#38;lt;div class=&#38;quot;featured featured&#38;lt;?php echo $loopcount; ?&#38;gt;&#38;quot;&#38;gt;
					&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink(); ?&#38;gt;&#38;quot;&#38;gt;
						&#38;lt;span class=&#38;#39;feature_excerpt&#38;#39;&#38;gt;
							&#38;lt;strong class=&#38;#39;sliderheading&#38;#39;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/strong&#38;gt;
							&#38;lt;span class=&#38;#39;sliderdate&#38;#39;&#38;gt;&#38;lt;?php the_time(&#38;#39;M d, Y&#38;#39;) ?&#38;gt;&#38;lt;/span&#38;gt;
							&#38;lt;span class=&#38;#39;slidercontent&#38;#39;&#38;gt;
							&#38;lt;?php
								$content = strip_tags(get_the_excerpt(),&#38;#39;&#38;lt;a&#38;gt;&#38;lt;strong&#38;gt;&#38;lt;span&#38;gt;&#38;#39;);
								echo $content;
							?&#38;gt;
							&#38;lt;/span&#38;gt;
						&#38;lt;/span&#38;gt;
						&#38;lt;?php echo $preview_image; ?&#38;gt;
					&#38;lt;/a&#38;gt;
				&#38;lt;/div&#38;gt;
			&#38;lt;?php
			// end entry

			$loopcount ++;
			endwhile; endif;
			?&#38;gt;

		&#38;lt;/div&#38;gt;&#38;lt;!-- end #featured --&#38;gt; 

		&#38;lt;span class=&#38;#39;bottom_right_rounded_corner ie6fix&#38;#39;&#38;gt;&#38;lt;/span&#38;gt;
		&#38;lt;span class=&#38;#39;bottom_left_rounded_corner ie6fix&#38;#39;&#38;gt;&#38;lt;/span&#38;gt;	

	&#38;lt;!-- ###################################################################### --&#38;gt;
	&#38;lt;/div&#38;gt;&#38;lt;!-- end featuredwrap --&#38;gt;
	&#38;lt;!-- ###################################################################### --&#38;gt;
	&#38;lt;?php endif; // end slideshow ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Stephen on "Putting Slider on other pages."</title>
			<link>http://www.kriesi.at/support/topic/putting-slider-on-other-pages-1#post-21503</link>
			<pubDate>Fri, 24 Jun 2011 09:59:09 +0000</pubDate>
			<dc:creator>Stephen</dc:creator>
			<guid isPermaLink="false">21503@http://www.kriesi.at/support/</guid>
			<description>&#60;p&#62;I'd like to put a slider on every page and preferably have the choice of which slider on each page. Is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
