<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<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>THE MOLITOR FORUMS &#187; Topic: FAQ - Slider order</title>
		<link>http://www.themolitor.com/forums/topic/slider-order</link>
		<description>THE MOLITOR FORUMS &#187; Topic: FAQ - Slider order</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 06:41:40 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://www.themolitor.com/forums/search.php</link>
		</textInput>
		<atom:link href="http://www.themolitor.com/forums/rss/topic/slider-order" rel="self" type="application/rss+xml" />

		<item>
			<title>THE MOLITOR on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-29138</link>
			<pubDate>Wed, 07 May 2014 09:55:42 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">29138@http://www.themolitor.com/forums/</guid>
			<description><p>Hi there,</p>
<p>Please keep in mind that as of version v1.4.0, an expiration notice on category and post pages displays if the event is older than today's date ;-)</p>
<p>Best,</p>
<p>Chris
</p></description>
		</item>
		<item>
			<title>cestaimee on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-29132</link>
			<pubDate>Tue, 06 May 2014 18:32:47 +0000</pubDate>
			<dc:creator>cestaimee</dc:creator>
			<guid isPermaLink="false">29132@http://www.themolitor.com/forums/</guid>
			<description><p>You are my hero, lorispal! Worked like a charm.
</p></description>
		</item>
		<item>
			<title>iandick on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-24954</link>
			<pubDate>Sun, 24 Nov 2013 13:49:57 +0000</pubDate>
			<dc:creator>iandick</dc:creator>
			<guid isPermaLink="false">24954@http://www.themolitor.com/forums/</guid>
			<description><p>Has anyone else had any luck with this?  I am trying to get my slider to show the 10 upcoming events with no luck. </p>
<p>I have tried Losipals code but I end up with a parse error:</p>
<p>Parse error: syntax error, unexpected T_ENDWHILE in /home/content/84/12127384/html/wp-content/themes/eventure/slider.php on line 21</p>
<p>which is the:</p>
<pre><code>&#60;?php endwhile; endif; remove_filter( &#039;posts_where&#039;, &#039;filter_where&#039; );?&#62;</code></pre>
<p>section. </p>
<p>THoughts?
</p></description>
		</item>
		<item>
			<title>lorispal on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-9898</link>
			<pubDate>Thu, 10 May 2012 15:42:05 +0000</pubDate>
			<dc:creator>lorispal</dc:creator>
			<guid isPermaLink="false">9898@http://www.themolitor.com/forums/</guid>
			<description><p>You can see it in action here <a href="http://www.terminalpd.com" rel="nofollow">http://www.terminalpd.com</a>
</p></description>
		</item>
		<item>
			<title>natedesigns on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-9892</link>
			<pubDate>Thu, 10 May 2012 14:34:08 +0000</pubDate>
			<dc:creator>natedesigns</dc:creator>
			<guid isPermaLink="false">9892@http://www.themolitor.com/forums/</guid>
			<description><p>Thanks lorispal
</p></description>
		</item>
		<item>
			<title>lorispal on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-8413</link>
			<pubDate>Mon, 02 Apr 2012 18:55:34 +0000</pubDate>
			<dc:creator>lorispal</dc:creator>
			<guid isPermaLink="false">8413@http://www.themolitor.com/forums/</guid>
			<description><p>This is how to show only next upcoming events starting from now.<br />
put in function.php this code   </p>
<pre><code>// Create a new filtering function that will add our where clause to the query
function filter_where( $where = &#039;&#039; ) {
        // show only post in future
       	$now = date(&#34;Y-m-d&#34;);
        $where .= &#34; AND post_date&#62;=&#039;$now&#039;&#34;;
        return $where;
}</code></pre>
<p>then modify the slider.php  from the  &#60;!--SLIDER--&#62;</p>
<pre><code>&#60;div id=&#34;slider&#34;&#62;
        &#60;ul class=&#34;slides&#34;&#62;
                &#60;?php
add_filter( &#039;posts_where&#039;, &#039;filter_where&#039; );
$showPostsInCategory = new WP_Query();
$showPostsInCategory-&#62;query(&#039;order=asc&#38;cat=&#039;.$sliderCat.&#039;&#38;showposts=&#039;.$sliderNumber) .&#039;&#38;date&#62;=&#34;&#039;.$now.&#039;&#34;&#039;;  ?&#62;</code></pre>
<p>then change the code from</p>
<pre><code>&#60;?php the_post_thumbnail(&#039;slider&#039;); ?&#62;

&#60;?php endwhile; endif;?&#62;</code></pre>
<p>into </p>
<pre><code>&#60;?php the_post_thumbnail(&#039;slider&#039;); ?&#62;

&#60;?php endwhile; endif; remove_filter( &#039;posts_where&#039;, &#039;filter_where&#039; );?&#62;</code></pre>
<p>That's all. This cost me 2 hours, please send me a theme for free :)
</p></description>
		</item>
		<item>
			<title>lorispal on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-8344</link>
			<pubDate>Sun, 01 Apr 2012 09:46:21 +0000</pubDate>
			<dc:creator>lorispal</dc:creator>
			<guid isPermaLink="false">8344@http://www.themolitor.com/forums/</guid>
			<description><p>Hi need to see only upcoming events from now, not the last posteed, nor the oldest. There is no reason to see featured event of the past. Solution?
</p></description>
		</item>
		<item>
			<title>plieni on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-7282</link>
			<pubDate>Tue, 28 Feb 2012 08:28:07 +0000</pubDate>
			<dc:creator>plieni</dc:creator>
			<guid isPermaLink="false">7282@http://www.themolitor.com/forums/</guid>
			<description><p>Hi Chris.</p>
<p>Many thanks for the information as before. It works wonderful. In your documentation you give use the hint for the - "Events Listing Page (with images). To achieve the events page layout in the demo, simply create a category named "Events" and add posts to that category. Navigate to the "menus" page and add the "Events" category to the menu.</p>
<p>Is it possible to order this like the slider (newest - oldest)?<br />
This will be very helpful. Thanks for the information - and sorry, sorry for my english!
</p></description>
		</item>
		<item>
			<title>THE MOLITOR on "FAQ - Slider order"</title>
			<link>http://www.themolitor.com/forums/topic/slider-order#post-6754</link>
			<pubDate>Mon, 13 Feb 2012 13:59:07 +0000</pubDate>
			<dc:creator>THE MOLITOR</dc:creator>
			<guid isPermaLink="false">6754@http://www.themolitor.com/forums/</guid>
			<description><p>To change the order to ascending (oldest &#62; newest), open up "slider.php" and locate the following on line 13...</p>
<pre><code>&#60;?php $showPostsInCategory = new WP_Query(); $showPostsInCategory-&#62;query(&#039;&#38;cat=&#039;.$sliderCat.&#039;&#38;showposts=&#039;.$sliderNumber);  ?&#62;</code></pre>
<p><strong>...and change it to the following...</strong></p>
<pre><code>&#60;?php $showPostsInCategory = new WP_Query(); $showPostsInCategory-&#62;query(&#039;order=ASC&#38;cat=&#039;.$sliderCat.&#039;&#38;showposts=&#039;.$sliderNumber);  ?&#62;</code></pre>
<p>If you find this useful, PLEASE don't forget to rate the theme on your downloads page on ThemeForest. Positive ratings REALLY help me out.</p>
<p>Thanks!</p>
<p>Chris
</p></description>
		</item>

	</channel>
</rss>
