<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: the-future-is-now</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: the-future-is-now</description>
<language>en</language>
<pubDate>Wed, 25 Nov 2009 22:27:53 +0000</pubDate>

<item>
<title>kwilde1 on "[Plugin: The Future Is Now] Display already "published" future posts in widget"</title>
<link>http://wordpress.org/support/topic/330388#post-1276726</link>
<pubDate>Tue, 10 Nov 2009 22:06:27 +0000</pubDate>
<dc:creator>kwilde1</dc:creator>
<guid isPermaLink="false">1276726@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello, I am using the plugin &#34;The Future is Now&#34; where every post on my Wordpress is an event and published on a future date. I'd like to use a widget or put something in my template to display the next 5 events (and their date).&#60;/p&#62;
&#60;p&#62;I've found widgets that display future posts, but they all work based on the future posts being unpublished and don't include links to the posts since they are just meant to be teasers.&#60;/p&#62;
&#60;p&#62;Does anyone know of a widget that cooperates with the Future is Now plugin to display upcoming events (posts?), even if they are published and not just scheduled? Alternately, can anyone give me some PHP to put in my template?
&#60;/p&#62;</description>
</item>
<item>
<title>MongooseDoom on "[Plugin: The Future Is Now] Display a Future Event"</title>
<link>http://wordpress.org/support/topic/268547#post-1067109</link>
<pubDate>Thu, 07 May 2009 04:30:26 +0000</pubDate>
<dc:creator>MongooseDoom</dc:creator>
<guid isPermaLink="false">1067109@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I have a conflict. I'm trying to use Event Calendar 3 and display the next future event on &#60;a href=&#34;http://test.jackiekeiser.com&#34;&#62;my website&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Right now I'm using &#60;code&#62;query_posts(&#38;#39;showposts=1&#38;amp;amp;cat=3&#38;amp;amp;post_status=future&#38;amp;amp;order=ASC&#38;#39;);&#60;/code&#62; to display the next event in the event category. The problem with this however is that Event Calendar 3 won't display unpublished events.&#60;/p&#62;
&#60;p&#62;I decided to install The Future is Now to solve my problem but `query_posts('showposts=1&#38;amp;cat=3&#38;amp;post_status=future&#38;amp;order=ASC');' no longer works because there are no more future posts.&#60;/p&#62;
&#60;p&#62;How can I publish a post AND display the next upcoming event?
&#60;/p&#62;</description>
</item>
<item>
<title>iclapton on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-981221</link>
<pubDate>Tue, 10 Feb 2009 08:19:52 +0000</pubDate>
<dc:creator>iclapton</dc:creator>
<guid isPermaLink="false">981221@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Is happening the same with Tades...
&#60;/p&#62;</description>
</item>
<item>
<title>iclapton on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-980939</link>
<pubDate>Mon, 09 Feb 2009 23:56:05 +0000</pubDate>
<dc:creator>iclapton</dc:creator>
<guid isPermaLink="false">980939@http://wordpress.org/support/</guid>
<description>&#60;p&#62;The code, a little bi modified, to get little improvement of the filter:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php query_posts($query_string . &#38;quot;&#38;#38;order=ASC&#38;quot;); ?&#38;gt;
	&#38;lt;?php $prev_date =&#38;#39;0&#38;#39;; ?&#38;gt;

	&#38;lt;?php if (have_posts()) : ?&#38;gt;
	&#38;lt;?php while (have_posts()) : the_post(); ?&#38;gt;

        &#38;lt;?php  //check the dates

		$post_date = mysql2date(&#38;quot;Ymd&#38;quot;, $post-&#38;gt;post_date_gmt);
		$currentdate = date(&#38;quot;Ymd&#38;quot;, strtotime(&#38;#39;-1 day&#38;#39;));
		$limitdate = date(&#38;quot;Ymd&#38;quot;, strtotime(&#38;quot;next Monday&#38;quot;));
		$expirationdate = $post_date;

			if ( $expirationdate &#38;gt; $currentdate &#38;#38;&#38;#38; $expirationdate &#38;lt; $limitdate) { ?&#38;gt;

		&#38;lt;div class=&#38;quot;Post&#38;quot; id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot; style=&#38;quot;padding-bottom: 40px;&#38;quot;&#38;gt;

			&#38;lt;div class=&#38;quot;PostHead&#38;quot;&#38;gt;
			&#38;lt;h1&#38;gt;&#38;lt;a title=&#38;quot;Permanent Link to &#38;lt;?php the_title(); ?&#38;gt;&#38;quot; href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/h1&#38;gt;
				&#38;lt;small class=&#38;quot;PostLocal&#38;quot;&#38;gt;en &#38;lt;?php the_category(&#38;#39;, &#38;#39;) ?&#38;gt;
                	&#38;lt;small class=&#38;quot;PostEdit&#38;quot;&#38;gt;&#38;lt;?php edit_post_link(&#38;#39;Edit&#38;#39;); ?&#38;gt;&#38;lt;/small&#38;gt;&#38;lt;br /&#38;gt;
                	&#38;lt;small class=&#38;quot;PostTags&#38;quot;&#38;gt;&#38;lt;?php the_tags(&#38;#39;&#38;#39;, &#38;#39;, &#38;#39;, &#38;#39;&#38;lt;br /&#38;gt;&#38;#39;); ?&#38;gt;&#38;lt;/small&#38;gt;
                    &#38;lt;small class=&#38;quot;PostTags&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;g:i a&#38;#39;); ?&#38;gt;&#38;lt;/small&#38;gt;
            	&#38;lt;/small&#38;gt;

                   		&#38;lt;?php  //posts on same date
						if ( $post_date != $prev_date ) { ?&#38;gt;

						&#38;lt;p class=&#38;quot;PostDate&#38;quot;&#38;gt;
						&#38;lt;small class=&#38;quot;day&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;j&#38;#39;) ?&#38;gt;&#38;lt;/small&#38;gt;
						&#38;lt;small class=&#38;quot;month&#38;quot;&#38;gt;&#38;lt;?php the_time(&#38;#39;M&#38;#39;) ?&#38;gt;&#38;lt;/small&#38;gt;
						&#38;lt;small class=&#38;quot;year&#38;quot;&#38;gt;&#38;lt;? // php the_time(&#38;#39;Y&#38;#39;) ?&#38;gt;&#38;lt;/small&#38;gt;
						&#38;lt;/p&#38;gt;

                        &#38;lt;?php $prev_date = $post_date; ?&#38;gt;
                        &#38;lt;?php } //end same date check ?&#38;gt;

			&#38;lt;/div&#38;gt;

			&#38;lt;div class=&#38;quot;PostContent&#38;quot;&#38;gt;
			&#38;lt;?php the_content(&#38;#39;Leer m&#38;amp;aacute;s...&#38;#39;); ?&#38;gt;
			&#38;lt;/div&#38;gt;

			&#38;lt;div class=&#38;quot;PostDet&#38;quot;&#38;gt;
 				&#38;lt;li class=&#38;quot;PostCom&#38;quot;&#38;gt;&#38;lt;?php comments_popup_link(&#38;#39;0 Comentarios&#38;#39;, &#38;#39;1 Comentario&#38;#39;, &#38;#39;% Comentarios&#38;#39;); ?&#38;gt;&#38;lt;/li&#38;gt;
			&#38;lt;/div&#38;gt;

		&#38;lt;/div&#38;gt;

		&#38;lt;!-- &#38;lt;?php trackback_rdf(); ?&#38;gt; --&#38;gt;
		&#38;lt;div class=&#38;quot;clearer&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;

		&#38;lt;?php } //end date check ?&#38;gt;

		&#38;lt;?php endwhile; ?&#38;gt;

	  &#38;lt;?php if (will_paginate()): ?&#38;gt;

    &#38;lt;ul id=&#38;quot;pagination&#38;quot;&#38;gt;
      &#38;lt;li class=&#38;quot;previous&#38;quot;&#38;gt;&#38;lt;?php posts_nav_link(&#38;#39;&#38;#39;,&#38;#39;&#38;#39;,&#38;#39;&#38;amp;laquo; Previous Entries&#38;#39;) ?&#38;gt;&#38;lt;/li&#38;gt;
      &#38;lt;li class=&#38;quot;future&#38;quot;&#38;gt;&#38;lt;?php posts_nav_link(&#38;#39;&#38;#39;,&#38;#39;Next Entries &#38;amp;raquo;&#38;#39;,&#38;#39;&#38;#39;) ?&#38;gt;&#38;lt;/li&#38;gt;
    &#38;lt;/ul&#38;gt;

  &#38;lt;?php endif; ?&#38;gt;

			&#38;lt;?php else : ?&#38;gt;
			&#38;lt;h2&#38;gt;&#38;lt;?php _e(&#38;#39;Vacio&#38;#39;); ?&#38;gt;&#38;lt;/h2&#38;gt;
			&#38;lt;p&#38;gt;&#38;lt;?php _e(&#38;#39;Perdona, no hay ninguno evento con esos criterios.&#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;

	&#38;lt;?php endif; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>iclapton on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-980937</link>
<pubDate>Mon, 09 Feb 2009 23:54:43 +0000</pubDate>
<dc:creator>iclapton</dc:creator>
<guid isPermaLink="false">980937@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Forgot to say I´m using WP 2.7!
&#60;/p&#62;</description>
</item>
<item>
<title>iclapton on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-980935</link>
<pubDate>Mon, 09 Feb 2009 23:51:28 +0000</pubDate>
<dc:creator>iclapton</dc:creator>
<guid isPermaLink="false">980935@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Dibas, thanks for your code, i´m using it and it´s almost perfect for me! The problem is that the post navigation got confused... i underestand what is happening, but I can´t realize how to solve it, any help would be great!&#60;br /&#62;
( I hope I can explaint it well, my english is poor! ;)&#60;/p&#62;
&#60;p&#62;The problem:&#60;br /&#62;
I have like 12 posts to be showed after de &#34;future date&#34; filter. My setup it to show 10 posts on the homepage, but it just show one on the first page, but give you the choice to &#34;navigate&#34; to the second page, where there is 10 posts...&#60;/p&#62;
&#60;p&#62;What I think is happening:&#60;br /&#62;
I think the problem is that the &#34;check date&#34; is after the &#34;check post&#34;, so the loop recognize the old posts, and althought they aren´t showed, the system considers it. I really have 9 old posts!&#60;/p&#62;
&#60;p&#62;I tryed to change the &#34;check date&#34; place, but I couln´t get it working!&#60;/p&#62;
&#60;p&#62;Any help???&#60;br /&#62;
Thanks!!
&#60;/p&#62;</description>
</item>
<item>
<title>iclapton on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-980932</link>
<pubDate>Mon, 09 Feb 2009 23:50:07 +0000</pubDate>
<dc:creator>iclapton</dc:creator>
<guid isPermaLink="false">980932@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Dibas, thanks for your code, i´m using it and it´s almost perfect for me! The problem is that the post navigation got confused... i underestand what is happening, but I can´t realize how to solve it, any help would be great!&#60;br /&#62;
( I hope I can explaint it well, my english is poor! ;)&#60;/p&#62;
&#60;p&#62;The problem:&#60;br /&#62;
I have like 12 posts to be showed after de &#34;future date&#34; filter. My setup it to show 10 posts on the homepage, but it just show one on the first page, but give you the choice to &#34;navigate&#34; to the second page, where there is 10 posts...&#60;/p&#62;
&#60;p&#62;What I think is happening:&#60;br /&#62;
I think the problem is that the &#34;check date&#34; is after the &#34;check post&#34;, so the loop recognize the old posts, and althought they aren´t showed, the system considers it. I really have 9 old posts!&#60;/p&#62;
&#60;p&#62;I tryed to change the &#34;check date&#34; place, but I couln´t get it working!&#60;/p&#62;
&#60;p&#62;Any help???&#60;br /&#62;
Thanks!!
&#60;/p&#62;</description>
</item>
<item>
<title>tades on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-923244</link>
<pubDate>Sat, 13 Dec 2008 03:53:14 +0000</pubDate>
<dc:creator>tades</dc:creator>
<guid isPermaLink="false">923244@http://wordpress.org/support/</guid>
<description>&#60;p&#62;you right, I set the number posts... but don't works, I'll try another thread.&#60;/p&#62;
&#60;p&#62;thanks a lot
&#60;/p&#62;</description>
</item>
<item>
<title>disbas on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-917905</link>
<pubDate>Mon, 08 Dec 2008 19:10:53 +0000</pubDate>
<dc:creator>disbas</dc:creator>
<guid isPermaLink="false">917905@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Slightly going off topic now: did you check the number of posts in settings &#38;gt; read? Else try 'showposts=-1' instead. If that doesn't work, best start a new thread.
&#60;/p&#62;</description>
</item>
<item>
<title>tades on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-917442</link>
<pubDate>Mon, 08 Dec 2008 04:34:16 +0000</pubDate>
<dc:creator>tades</dc:creator>
<guid isPermaLink="false">917442@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Disbas&#60;/p&#62;
&#60;p&#62;your tips are greats. Thanks a lot. I put this (&#38;#38;posts_per_page=15) for display posts, but always show 7. Why?.&#60;/p&#62;
&#60;p&#62;I changed value post_per_page=-1 for display full post, but don't works also.&#60;/p&#62;
&#60;p&#62;post_per_page=-1 (&#60;a href=&#34;http://codex.wordpress.org/Template_Tags/query_posts#Page_Parameters&#34;&#62;link&#60;/a&#62;)&#60;/p&#62;
&#60;p&#62;thanks again
&#60;/p&#62;</description>
</item>
<item>
<title>disbas on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-916309</link>
<pubDate>Sat, 06 Dec 2008 12:31:21 +0000</pubDate>
<dc:creator>disbas</dc:creator>
<guid isPermaLink="false">916309@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Well, it looks as if your checking the dates too late. First check if there is a post. If so, check the date. Then do the html. &#60;/p&#62;
&#60;p&#62;I did some reshuffling in your code. Didn't test it, though. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php

  get_header();

  if (have_posts()): ?&#38;gt;

  &#38;lt;ol id=&#38;quot;posts&#38;quot;&#38;gt;&#38;lt;?php query_posts(&#38;#39;cat=3&#38;#38;posts_per_page=10&#38;#38;orderby=date&#38;#38;order=ASC&#38;#39;); ?&#38;gt;
&#38;lt;?php while ( have_posts() ) : the_post() ?&#38;gt; 

&#38;lt;?php  //check the dates
$post_date = mysql2date(&#38;quot;Ymd&#38;quot;, $post-&#38;gt;post_date_gmt);
$currentdate = date(&#38;quot;Ymd&#38;quot;, strtotime(&#38;#39;-1 day&#38;#39;));
$expirationdate = $post_date;
if ( $expirationdate &#38;gt; $currentdate ) { ?&#38;gt;

    &#38;lt;li class=&#38;quot;postWrapper&#38;quot; id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot;&#38;gt;

      &#38;lt;h2 class=&#38;quot;postTitle&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;
      &#38;lt;small&#38;gt;&#38;lt;?php the_date(); ?&#38;gt; by &#38;lt;?php the_author(); ?&#38;gt;&#38;lt;/small&#38;gt;

      &#38;lt;div class=&#38;quot;post&#38;quot;&#38;gt;&#38;lt;?php the_content(__(&#38;#39;(more...)&#38;#39;)); ?&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;p class=&#38;quot;postMeta&#38;quot;&#38;gt;Category: &#38;lt;?php the_category(&#38;#39;, &#38;#39;) . &#38;quot; &#38;quot; . the_tags(__(&#38;#39;Tags: &#38;#39;), &#38;#39;, &#38;#39;, &#38;#39; &#124; &#38;#39;) . comments_popup_link(__(&#38;#39;Comments (0)&#38;#39;), __(&#38;#39;Comments (1)&#38;#39;), __(&#38;#39;Comments (%)&#38;#39;)) . edit_post_link(__(&#38;#39;Edit&#38;#39;), &#38;#39; &#124; &#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;

      &#38;lt;hr class=&#38;quot;noCss&#38;quot; /&#38;gt;
    &#38;lt;/li&#38;gt;

    &#38;lt;?php comments_template(); // Get wp-comments.php template ?&#38;gt;

&#38;lt;?php } //end date check ?&#38;gt;
    &#38;lt;?php endwhile; ?&#38;gt;

  &#38;lt;/ol&#38;gt;

&#38;lt;?php else: ?&#38;gt;

  &#38;lt;p&#38;gt;&#38;lt;?php _e(&#38;#39;Sorry, no posts matched your criteria.&#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;

&#38;lt;?php

  endif;
  ?&#38;gt;

  &#38;lt;?php if (will_paginate()): ?&#38;gt;

    &#38;lt;ul id=&#38;quot;pagination&#38;quot;&#38;gt;
      &#38;lt;li class=&#38;quot;previous&#38;quot;&#38;gt;&#38;lt;?php posts_nav_link(&#38;#39;&#38;#39;,&#38;#39;&#38;#39;,&#38;#39;&#38;amp;laquo; Previous Entries&#38;#39;) ?&#38;gt;&#38;lt;/li&#38;gt;
      &#38;lt;li class=&#38;quot;future&#38;quot;&#38;gt;&#38;lt;?php posts_nav_link(&#38;#39;&#38;#39;,&#38;#39;Next Entries &#38;amp;raquo;&#38;#39;,&#38;#39;&#38;#39;) ?&#38;gt;&#38;lt;/li&#38;gt;
    &#38;lt;/ul&#38;gt;

  &#38;lt;?php endif; ?&#38;gt;

  &#38;lt;?php
  get_footer();
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>tades on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-915343</link>
<pubDate>Fri, 05 Dec 2008 05:30:46 +0000</pubDate>
<dc:creator>tades</dc:creator>
<guid isPermaLink="false">915343@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Disbas, I test your code in WP 2.6.3, and now future post appear, but the old posts appear also, not only future posts.&#60;/p&#62;
&#60;p&#62;can you tell me what is my bug?&#60;/p&#62;
&#60;p&#62;I put your code in category page&#60;/p&#62;
&#60;p&#62;my code&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php

  get_header();

  if (have_posts()): ?&#38;gt;

  &#38;lt;ol id=&#38;quot;posts&#38;quot;&#38;gt;&#38;lt;?php query_posts(&#38;#39;cat=3&#38;#38;posts_per_page=10&#38;#38;orderby=date&#38;#38;order=ASC&#38;#39;); ?&#38;gt;
&#38;lt;?php while ( have_posts() ) : the_post() ?&#38;gt; 

    &#38;lt;li class=&#38;quot;postWrapper&#38;quot; id=&#38;quot;post-&#38;lt;?php the_ID(); ?&#38;gt;&#38;quot;&#38;gt;

      &#38;lt;h2 class=&#38;quot;postTitle&#38;quot;&#38;gt;&#38;lt;a href=&#38;quot;&#38;lt;?php the_permalink() ?&#38;gt;&#38;quot; rel=&#38;quot;bookmark&#38;quot;&#38;gt;&#38;lt;?php the_title(); ?&#38;gt;&#38;lt;/a&#38;gt;&#38;lt;/h2&#38;gt;
      &#38;lt;small&#38;gt;&#38;lt;?php the_date(); ?&#38;gt; by &#38;lt;?php the_author(); ?&#38;gt;&#38;lt;/small&#38;gt;

      &#38;lt;div class=&#38;quot;post&#38;quot;&#38;gt;&#38;lt;?php the_content(__(&#38;#39;(more...)&#38;#39;)); ?&#38;gt;&#38;lt;/div&#38;gt;
      &#38;lt;p class=&#38;quot;postMeta&#38;quot;&#38;gt;Category: &#38;lt;?php the_category(&#38;#39;, &#38;#39;) . &#38;quot; &#38;quot; . the_tags(__(&#38;#39;Tags: &#38;#39;), &#38;#39;, &#38;#39;, &#38;#39; &#124; &#38;#39;) . comments_popup_link(__(&#38;#39;Comments (0)&#38;#39;), __(&#38;#39;Comments (1)&#38;#39;), __(&#38;#39;Comments (%)&#38;#39;)) . edit_post_link(__(&#38;#39;Edit&#38;#39;), &#38;#39; &#124; &#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;

      &#38;lt;hr class=&#38;quot;noCss&#38;quot; /&#38;gt;
    &#38;lt;/li&#38;gt;

    &#38;lt;?php comments_template(); // Get wp-comments.php template ?&#38;gt;

&#38;lt;?php  //check the dates
$post_date = mysql2date(&#38;quot;Ymd&#38;quot;, $post-&#38;gt;post_date_gmt);
$currentdate = date(&#38;quot;Ymd&#38;quot;, strtotime(&#38;#39;-1 day&#38;#39;));
$expirationdate = $post_date;
if ( $expirationdate &#38;gt; $currentdate ) { ?&#38;gt;

&#38;lt;?php } //end date check ?&#38;gt;
    &#38;lt;?php endwhile; ?&#38;gt;

  &#38;lt;/ol&#38;gt;

&#38;lt;?php else: ?&#38;gt;

  &#38;lt;p&#38;gt;&#38;lt;?php _e(&#38;#39;Sorry, no posts matched your criteria.&#38;#39;); ?&#38;gt;&#38;lt;/p&#38;gt;

&#38;lt;?php

  endif;
  ?&#38;gt;

  &#38;lt;?php if (will_paginate()): ?&#38;gt;

    &#38;lt;ul id=&#38;quot;pagination&#38;quot;&#38;gt;
      &#38;lt;li class=&#38;quot;previous&#38;quot;&#38;gt;&#38;lt;?php posts_nav_link(&#38;#39;&#38;#39;,&#38;#39;&#38;#39;,&#38;#39;&#38;amp;laquo; Previous Entries&#38;#39;) ?&#38;gt;&#38;lt;/li&#38;gt;
      &#38;lt;li class=&#38;quot;future&#38;quot;&#38;gt;&#38;lt;?php posts_nav_link(&#38;#39;&#38;#39;,&#38;#39;Next Entries &#38;amp;raquo;&#38;#39;,&#38;#39;&#38;#39;) ?&#38;gt;&#38;lt;/li&#38;gt;
    &#38;lt;/ul&#38;gt;

  &#38;lt;?php endif; ?&#38;gt;

  &#38;lt;?php
  get_footer();
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>disbas on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-914866</link>
<pubDate>Thu, 04 Dec 2008 16:21:56 +0000</pubDate>
<dc:creator>disbas</dc:creator>
<guid isPermaLink="false">914866@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm using them on 2.6.5.
&#60;/p&#62;</description>
</item>
<item>
<title>tades on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-914476</link>
<pubDate>Thu, 04 Dec 2008 03:12:30 +0000</pubDate>
<dc:creator>tades</dc:creator>
<guid isPermaLink="false">914476@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Disbas and Musik, are you using wordpress 2.3, 2.5.1 or 2.6?. those hacks don't works on WP 2.6 or 2.5.1...&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>msmith29063 on "Using WP Site as a Calendar (Posts = Events)?"</title>
<link>http://wordpress.org/support/topic/209657#post-874957</link>
<pubDate>Mon, 13 Oct 2008 00:10:04 +0000</pubDate>
<dc:creator>msmith29063</dc:creator>
<guid isPermaLink="false">874957@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Nevermind. The Future is Now plug-in did the trick. Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>msmith29063 on "Using WP Site as a Calendar (Posts = Events)?"</title>
<link>http://wordpress.org/support/topic/209657#post-874949</link>
<pubDate>Sun, 12 Oct 2008 23:59:50 +0000</pubDate>
<dc:creator>msmith29063</dc:creator>
<guid isPermaLink="false">874949@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Although this plug-in works, is there not an easier solution? I really just need the ability to show ALL posts, no matter the date. That's it. Is there a way to do this? Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>MichaelH on "Using WP Site as a Calendar (Posts = Events)?"</title>
<link>http://wordpress.org/support/topic/209657#post-873866</link>
<pubDate>Sat, 11 Oct 2008 03:20:44 +0000</pubDate>
<dc:creator>MichaelH</dc:creator>
<guid isPermaLink="false">873866@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I know this plugin does that:&#60;br /&#62;
&#60;a href=&#34;http://wpcal.firetree.net/&#34; rel=&#34;nofollow&#34;&#62;http://wpcal.firetree.net/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>msmith29063 on "Using WP Site as a Calendar (Posts = Events)?"</title>
<link>http://wordpress.org/support/topic/209657#post-873589</link>
<pubDate>Fri, 10 Oct 2008 17:45:13 +0000</pubDate>
<dc:creator>msmith29063</dc:creator>
<guid isPermaLink="false">873589@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Does anyone know how to set-up WP as an event calendar. Instead of blog posts, I'll be doing events with blurbs. Obviously, the event (post) dates would be in the future, so they would need to be able to display. Make sense? Any help/advise would be greatly appreciated! Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>benialvarez on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-870234</link>
<pubDate>Mon, 06 Oct 2008 09:33:11 +0000</pubDate>
<dc:creator>benialvarez</dc:creator>
<guid isPermaLink="false">870234@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks musik!!&#60;/p&#62;
&#60;p&#62;That's I was looking for.
&#60;/p&#62;</description>
</item>
<item>
<title>disbas on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-855170</link>
<pubDate>Wed, 17 Sep 2008 08:08:58 +0000</pubDate>
<dc:creator>disbas</dc:creator>
<guid isPermaLink="false">855170@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I took a different approach to get a list of upcoming events (using the future is now-plugin). &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php query_posts(&#38;#39;cat=5&#38;#38;posts_per_page=5&#38;#38;orderby=date&#38;#38;order=ASC&#38;#39;); ?&#38;gt;
&#38;lt;?php while ( have_posts() ) : the_post() ?&#38;gt; &#38;lt;!--loop--&#38;gt;

&#38;lt;?php  //check the dates
$post_date = mysql2date(&#38;quot;Ymd&#38;quot;, $post-&#38;gt;post_date_gmt);
$currentdate = date(&#38;quot;Ymd&#38;quot;, strtotime(&#38;#39;-1 day&#38;#39;));
$expirationdate = $post_date;
if ( $expirationdate &#38;gt; $currentdate ) { ?&#38;gt;

&#38;lt;!-- add your html here --&#38;gt;

&#38;lt;?php } //end date check ?&#38;gt;
&#38;lt;?php endwhile ?&#38;gt;&#38;lt;!-- end loop --&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The code returns a list of the next 5 events in category 5 (i.e. events). Todays events are listed as well because of the strtotime.&#60;/p&#62;
&#60;p&#62;No need to change any of the core files. Just put this code in your sidebar to get upcoming events.
&#60;/p&#62;</description>
</item>
<item>
<title>sk8n4s8n on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-848131</link>
<pubDate>Mon, 08 Sep 2008 15:25:50 +0000</pubDate>
<dc:creator>sk8n4s8n</dc:creator>
<guid isPermaLink="false">848131@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Looks like musik's solution is what I'm in need of, but I cannot overwrite general-template.php on my server, I've changed the files permissions too.. any suggestions?
&#60;/p&#62;</description>
</item>
<item>
<title>parthatel on "[Plugin: The Future Is Now] The Future is Now plugin only works when logged in as Admin!"</title>
<link>http://wordpress.org/support/topic/196825#post-830644</link>
<pubDate>Sat, 16 Aug 2008 17:04:51 +0000</pubDate>
<dc:creator>parthatel</dc:creator>
<guid isPermaLink="false">830644@http://wordpress.org/support/</guid>
<description>&#60;p&#62;bump
&#60;/p&#62;</description>
</item>
<item>
<title>parthatel on "[Plugin: The Future Is Now] The Future is Now plugin only works when logged in as Admin!"</title>
<link>http://wordpress.org/support/topic/196825#post-829473</link>
<pubDate>Thu, 14 Aug 2008 23:39:41 +0000</pubDate>
<dc:creator>parthatel</dc:creator>
<guid isPermaLink="false">829473@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I've been stumped over and over again when trying to render future posts and showing them. They sometimes dont appear at all and other times they appear. I first though this was a browser problem. It'll work on FF and then I'll work on IE the next day. Actually, it only appears when you're logged in as admin. I tried logging in as a user and it doesn't work for them either. So, this means there is a bug in the plugin, or it actually worked on another version of Wordpress. But on the plugin home page, it says that the plugin doesn't change the Wordpress backend. Please fix this. I would really appreciate it.
&#60;/p&#62;</description>
</item>
<item>
<title>jzo on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-828357</link>
<pubDate>Wed, 13 Aug 2008 18:01:30 +0000</pubDate>
<dc:creator>jzo</dc:creator>
<guid isPermaLink="false">828357@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Many thanks
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "[Plugin: The Future Is Now] Event-Date and posting date"</title>
<link>http://wordpress.org/support/topic/194705#post-822506</link>
<pubDate>Wed, 06 Aug 2008 07:13:58 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">822506@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm really impressed by this plugin, many thanks for the author.&#60;/p&#62;
&#60;p&#62;I've a suggestion. It'd be nice if we have a facility to record the vent-date along with the posting-date.&#60;/p&#62;
&#60;p&#62;Currently I used the default publishing date as the event-date and decided to add a &#34;custom-filed' named &#34;Posted on&#34; with every posts.&#60;/p&#62;
&#60;p&#62;Can I set this setup as default with my system?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>mosey on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-789426</link>
<pubDate>Tue, 24 Jun 2008 13:49:13 +0000</pubDate>
<dc:creator>mosey</dc:creator>
<guid isPermaLink="false">789426@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I was actually wondering what the change was, but they I realised it's commenting out the line: &#60;/p&#62;
&#60;p&#62;&#60;code&#62;AND post_date &#38;lt; &#38;#39;&#38;quot; . current_time(&#38;#39;mysql&#38;#39;) . &#38;#39;\&#38;#39;&#38;#39;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Nice solution :)
&#60;/p&#62;</description>
</item>
<item>
<title>musik on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-789247</link>
<pubDate>Tue, 24 Jun 2008 06:05:09 +0000</pubDate>
<dc:creator>musik</dc:creator>
<guid isPermaLink="false">789247@http://wordpress.org/support/</guid>
<description>&#60;p&#62;OK! I've solved my problem of future posts not showing up on the sidebar calendar and here is how. You will still need to install 'The Future Is Now' plugin. &#60;a href=&#34;http://wordpress.org/extend/plugins/the-future-is-now/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/the-future-is-now/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Activate it in your Plugin settings on your dashboard.&#60;/p&#62;
&#60;p&#62;Now open &#60;strong&#62;general-template.php&#60;/strong&#62; which is found in the folder &#60;strong&#62;wp-includes&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;Go to Line 639 or thereabouts... Or look for the following code;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Get days with posts

                $dayswithposts = $wpdb-&#38;gt;get_results(&#38;quot;SELECT DISTINCT DAYOFMONTH(post_date)

                                FROM $wpdb-&#38;gt;posts WHERE MONTH(post_date) = &#38;#39;$thismonth&#38;#39;

                                AND YEAR(post_date) = &#38;#39;$thisyear&#38;#39;

                                AND post_type = &#38;#39;post&#38;#39; AND post_status = &#38;#39;publish&#38;#39;

                                AND post_date &#38;lt; &#38;#39;&#38;quot; . current_time(&#38;#39;mysql&#38;#39;) . &#38;#39;\&#38;#39;&#38;#39;, ARRAY_N);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Change it to;&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Get days with posts

                $dayswithposts = $wpdb-&#38;gt;get_results(&#38;quot;SELECT DISTINCT DAYOFMONTH(post_date)

                                FROM $wpdb-&#38;gt;posts WHERE MONTH(post_date) = &#38;#39;$thismonth&#38;#39;

                                AND YEAR(post_date) = &#38;#39;$thisyear&#38;#39;

                                AND post_type = &#38;#39;post&#38;#39; AND post_status = &#38;#39;publish&#38;#39; &#38;quot;

                                /*AND post_date &#38;lt; &#38;#39;&#38;quot; . current_time(&#38;#39;mysql&#38;#39;) . &#38;#39;\&#38;#39;&#38;#39;*/, ARRAY_N);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;When you create your new future posts change the Publish Status to 'Published' and select the date your event/gig etc is on. Now your calendar will show future date posts. :)
&#60;/p&#62;</description>
</item>
<item>
<title>rforster on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-780078</link>
<pubDate>Thu, 12 Jun 2008 06:35:57 +0000</pubDate>
<dc:creator>rforster</dc:creator>
<guid isPermaLink="false">780078@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Here's the part to get a date one less than today:&#60;br /&#62;
where post_date &#38;gt; NOW()+0 -1000000&#60;br /&#62;
or where post_date &#38;gt; NOW()&#60;/p&#62;
&#60;p&#62;The first gets the current date and time, converts it to a number and subracts and amount so the day is one less than today. This really gets you any event (Post) that was done yesterday at the current time. Example:&#60;br /&#62;
Create a post for a car show in the events category with a start time of 8:00. Doesn't really matter what the end time is but in the content portion you could make note.&#60;/p&#62;
&#60;p&#62;The &#34;where post_date &#38;gt; NOW()&#34; will give you everything that hasn't happened yet. Example: The car show example above this would be a bad way to write this line as  when someone visits the page at 8:30 the NOW() will be greater than post_date so it wouldn't show on you page.&#60;/p&#62;
&#60;p&#62;I'll figure out how to subtract everything from the current time back to midnight. Really just preference for the types of events you might have.&#60;/p&#62;
&#60;p&#62;Now how do we pull the &#34;events&#34; category.....
&#60;/p&#62;</description>
</item>
<item>
<title>rforster on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-780053</link>
<pubDate>Thu, 12 Jun 2008 06:01:39 +0000</pubDate>
<dc:creator>rforster</dc:creator>
<guid isPermaLink="false">780053@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I'm writing a piece of code that will display a list of future events. Here's what I have done and want to do:&#60;br /&#62;
I made a category called Events.&#60;br /&#62;
I made a page called Events.&#60;br /&#62;
Have php-exec plugin installed.&#60;br /&#62;
Have cludged together the folowing: &#60;/p&#62;
&#60;p&#62;$query = &#34;select * from wp_posts&#60;br /&#62;
order by post_date desc limit 20&#34;;&#60;/p&#62;
&#60;p&#62;This works with some other statements. So it is selecting all of the fields in records from the posts table. Nice. I need the &#34;where&#34; statement worked out:&#60;/p&#62;
&#60;p&#62;$query = select * from wp_posts&#60;br /&#62;
Where post_date is greater than yesterday&#60;br /&#62;
and category is equal to &#34;Events&#34;&#60;br /&#62;
order by post_date asc limit 20&#34;;&#60;/p&#62;
&#60;p&#62;I've tried a few where statements involving dates but they either fail or get 0 events.&#60;br /&#62;
Also, I don't see where the &#34;post_category&#34; field does anything. I went into phpMyAdmin and this field has all zeros. Just dont know how this works.&#60;/p&#62;
&#60;p&#62;I'll post the code commented nicely when I get these statements worked out.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>musik on "Future Posts on a page?"</title>
<link>http://wordpress.org/support/topic/181245#post-780039</link>
<pubDate>Thu, 12 Jun 2008 05:33:17 +0000</pubDate>
<dc:creator>musik</dc:creator>
<guid isPermaLink="false">780039@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks Michael, I've tried that plugin and it doesn't work very well for what I want.  &#60;/p&#62;
&#60;p&#62;With the 'Future is Now' installed I can get the future posts to show in the sidebar under 'Archives' as a link under the month it falls into, but it refuses to show up in the calendar in the sidebar.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
