<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Is it possible to get a custom field on a Wordpress post to expire or delete after a certain date? </title>
	<link>http://ask.metafilter.com/224926/Is-it-possible-to-get-a-custom-field-on-a-Wordpress-post-to-expire-or-delete-after-a-certain-date/</link>
	<description>Comments on Ask MetaFilter post Is it possible to get a custom field on a Wordpress post to expire or delete after a certain date?</description>
	<pubDate>Thu, 20 Sep 2012 06:11:11 -0800</pubDate>
	<lastBuildDate>Thu, 20 Sep 2012 06:18:57 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Is it possible to get a custom field on a Wordpress post to expire or delete after a certain date?</title>
		<link>http://ask.metafilter.com/224926/Is-it-possible-to-get-a-custom-field-on-a-Wordpress-post-to-expire-or-delete-after-a-certain-date</link>	
		<description>Is it possible to get a custom field on a Wordpress post to expire or delete after a certain date? &lt;br /&gt;&lt;br /&gt; I have a Wordpress site that lists posts, many of which are events. On the posts that are events I include a custom field that includes HTML that links a user to our booking engine. This inserts a &apos;book now&apos; link in the post. &lt;br&gt;
&lt;br&gt;
I&apos;m wondering if it is possible to get this custom field to disappear after a certain date or time (i.e. after the date/time of the event, the custom field is deleted or at least doesn&apos;t appear to the end user). Is it possible to do such a thing in Wordpress? &lt;br&gt;
&lt;br&gt;
Kind regards</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2012:site.224926</guid>
		<pubDate>Thu, 20 Sep 2012 06:11:11 -0800</pubDate>
		<dc:creator>radiocontrolled</dc:creator>
		
			<category>wordpress</category>
		
			<category>custom</category>
		
			<category>field</category>
		
	</item>
	<item>
		<title>By: jsturgill</title>
		<link>http://ask.metafilter.com/224926/Is-it-possible-to-get-a-custom-field-on-a-Wordpress-post-to-expire-or-delete-after-a-certain-date#3253409</link>	
		<description>Put the date of the event in a custom field. Use php in the theme to check the date; if it&apos;s in the past, do one thing. If it&apos;s in the future, do something else like display the booking engine link.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2012:site.224926-3253409</guid>
		<pubDate>Thu, 20 Sep 2012 06:18:57 -0800</pubDate>
		<dc:creator>jsturgill</dc:creator>
	</item><item>
		<title>By: softlord</title>
		<link>http://ask.metafilter.com/224926/Is-it-possible-to-get-a-custom-field-on-a-Wordpress-post-to-expire-or-delete-after-a-certain-date#3253449</link>	
		<description>Use something like this &lt;a href=&quot;http://wordpress.org/extend/plugins/post-expirator/&quot;&gt;Post Expirator&lt;/a&gt; plugin, that i have no connection to or experience with.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2012:site.224926-3253449</guid>
		<pubDate>Thu, 20 Sep 2012 06:42:54 -0800</pubDate>
		<dc:creator>softlord</dc:creator>
	</item><item>
		<title>By: maniactown</title>
		<link>http://ask.metafilter.com/224926/Is-it-possible-to-get-a-custom-field-on-a-Wordpress-post-to-expire-or-delete-after-a-certain-date#3253652</link>	
		<description>I use jsturgill&apos;s method, but instead of a custom field (where you have to rely that the user inputs the date correctly), I change the &quot;Published&quot; date of the post the date of the future event and then use a plugin like &lt;a href=&quot;http://wordpress.org/extend/plugins/no-future-posts/&quot;&gt;this one&lt;/a&gt; to set the status of all future posts to published. You&apos;ll likely need to create a custom loop to show future posts in reverse chronological order, as well as exclude the Events category from your main loop (if you have other, non-Event posts).</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2012:site.224926-3253652</guid>
		<pubDate>Thu, 20 Sep 2012 09:09:52 -0800</pubDate>
		<dc:creator>maniactown</dc:creator>
	</item>
	</channel>
</rss>
