<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; delay posts in rss feeds</title>
	<atom:link href="http://www.wpwife.com/category/delay-posts-in-rss-feeds/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Delay Posts From Appearing in WordPress RSS Feed</title>
		<link>http://www.wpwife.com/tutorials/how-to-delay-posts-from-appearing-in-wordpress-rss-feed</link>
		<comments>http://www.wpwife.com/tutorials/how-to-delay-posts-from-appearing-in-wordpress-rss-feed#comments</comments>
		<pubDate>Sun, 05 Feb 2023 14:00:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[delay feed in wordpress]]></category>
		<category><![CDATA[delay posts in rss feeds]]></category>
		<category><![CDATA[delay posts in wordpress feeds]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.wpbeginner.com/?p=36522</guid>
		<description><![CDATA[
<p>Do you want to delay posts from appearing in your site&#8217;s RSS feed? Delaying posts from appearing immediately can save you from sending out unfinished work accidentally, give you time to edit typos you might see, and help you beat content scrapers in SEO. In&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-delay-posts-from-appearing-in-wordpress-rss-feed/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-delay-posts-from-appearing-in-wordpress-rss-feed/">How to Delay Posts From Appearing in WordPress RSS Feed</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to delay posts from appearing in your site&#8217;s RSS feed?</p>



<p>Delaying posts from appearing immediately can save you from sending out unfinished work accidentally, give you time to edit typos you might see, and help you beat content scrapers in SEO. </p>



<p>In this article, we will show you how to delay posts from appearing in WordPress RSS feed.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2022/09/how-to-delay-posts-from-appearing-in-wordpress-rss-feed-og.png" alt="How to Delay Posts From Appearing in WordPress RSS Feed" class="wp-image-142747" title="How to Delay Posts From Appearing in WordPress RSS Feed" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/09/how-to-delay-posts-from-appearing-in-wordpress-rss-feed-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2022/09/how-to-delay-posts-from-appearing-in-wordpress-rss-feed-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>Why Delay Your RSS Feed in WordPress?</h4>



<p>Sometimes you may publish a something on your <a href="https://www.wpbeginner.com/start-a-wordpress-blog/" title="How to Start a WordPress Blog - Easy Guide - Create a Blog">WordPress blog</a> with a typo that you just didn&#8217;t see. The mistake is then distributed to your RSS feed and all of your subscribers. If you have <a title="How to Add Email Subscriptions to Your WordPress Blog" href="https://www.wpbeginner.com/wp-tutorials/how-to-add-email-subscriptions-for-your-wordpress-blog/">email subscriptions on your WordPress</a> blog, then those subscribers will get it as well.</p>



<p>By adding a delay between your RSS feed and your live site, you get a little window of time to catch an error on a live site and fix it.</p>



<p>RSS feeds are also used by <a title="Beginner’s Guide to Preventing Blog Content Scraping in WordPress" href="https://www.wpbeginner.com/beginners-guide/beginners-guide-to-preventing-blog-content-scraping-in-wordpress/">content scraping</a> websites. They use it to monitor your content and copy your posts as soon as they appear live. If you have a new website with little authority, then a lot of times these content scrapers may end up beating you in the search results.</p>



<p>By delaying an article in your RSS feed, you can give search engines enough time to crawl and index your content first. </p>



<p>Having said that, let&#8217;s see how to easily delay posts from appearing in <a href="https://www.wpbeginner.com/guides/" title="How to Make a WordPress Website - Easy Tutorial - Create Website">WordPress website</a>&#8216;s RSS feed.</p>



<h4>How to Delay Posts in Your WordPress RSS Feed</h4>



<p>To begin, we recommend using WPCode to delay posts from appearing in your site&#8217;s feed. <a href="https://wpcode.com/"  title="WPCode - WordPress Code Snippet Plugin" rel="noopener">WPCode</a> lets you add <a href="https://www.wpbeginner.com/plugins/how-to-easily-add-custom-code-in-wordpress-without-breaking-your-site/" title="How to Easily Add Custom Code in WordPress (Without Breaking Your Site)">custom code to WordPress </a>safely and easily without having to worry about your site breaking.</p>



<p>For advanced users, you can copy/paste the following code into your theme&#8217;s <a href="https://www.wpbeginner.com/glossary/functions-php/">functions.php</a> file instead. You&#8217;ll need to modify the code to change the time interval. Remember that editing your core WordPress files can be dangerous, which is why we recommend WPCode. You&#8217;ll also lose any custom code snippets when you update your theme.</p>



<p>For details, see our article on <a href="https://www.wpbeginner.com/beginners-guide/beginners-guide-to-pasting-snippets-from-the-web-into-wordpress/" title="Beginner’s Guide to Pasting Snippets from the Web into WordPress">how to paste code snippets from the web into WordPress</a>.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: php; title: ; notranslate">
function wpb_snippet_publish_later_on_feed( $where ) {

	global $wpdb;

	if ( is_feed() ) {
		// Timestamp in WP-format.
		$now = gmdate( 'Y-m-d H:i:s' );

		// Number of unit to wait
		$wait = '10'; // integer.

		// Choose time unit.
		$unit = 'MINUTE'; // MINUTE, HOUR, DAY, WEEK, MONTH, YEAR.

		// Add SQL-sytax to default $where. By default 10 minutes.
		$where .= &quot; AND TIMESTAMPDIFF($unit, $wpdb-&gt;posts.post_date_gmt, '$now') &gt; $wait &quot;;
	}

	return $where;
}

add_filter( 'posts_where', 'wpb_snippet_publish_later_on_feed' );
</pre></div>


<p>Now we&#8217;ll show you how to do this the easy way with WPCode.</p>



<p>First, you will need to install and activate the <a href="https://wordpress.org/plugins/insert-headers-and-footers"  rel="noreferrer noopener nofollow" title="WPCode Free Code Snippet Plugin for WordPress">free WPCode plugin</a>. For details, you can follow our step-by-step guide on<a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners"> how to install a WordPress Plugin</a>.</p>



<p>Upon activation, you can navigate to <strong>Code Snippets »</strong> <strong>Add Snippet</strong>. After that, simply search for &#8216;rss&#8217; or scroll down to the &#8216;RSS Feeds&#8217; category. </p>



<p>Then, just hover your mouse over &#8216;Delay Posts in RSS Feeds&#8217; in the results and simply click on &#8216;Use snippet.&#8217;</p>



<figure class="wp-block-image size-full is-resized"><img src="https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodedelayrss.jpg" alt="Add a snippet using WPCode" class="wp-image-141041" width="680" title="Add a snippet using WPCode" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodedelayrss.jpg 680w, https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodedelayrss-300x176.jpg 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>Next, you will be taken to the &#8216;Edit Snippet&#8217; screen, where WPCode has pre-configured the snippet settings for you.</p>



<p>By default, your posts will be delayed from appearing in your RSS feed by 10 minutes from the time it&#8217;s published.</p>



<p>If that delay is good for you, then all you have to do is click on the switch to change it to &#8216;Active&#8217; and press the &#8216;Update&#8217; button.</p>



<figure class="wp-block-image size-full"><img width="680" height="400" src="https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodedelayrsscode.jpg" alt="Adjust the time your posts are delayed in RSS feed" class="wp-image-141043" title="Adjust the time your posts are delayed in RSS feed" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodedelayrsscode.jpg 680w, https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodedelayrsscode-300x176.jpg 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If you want to alter the length of the delay, you can do so by changing the number on Line 10 and the unit of time on Line 13. </p>



<p>For example, you can delay the post by one hour if you replace <code>$wait = '10';</code> and <code>$unit = 'MINUTE'</code> with <code>$wait = '1'</code> and <code>$unit = 'HOUR'</code>. </p>



<p>If you need to adjust the delay again, simply repeat those steps, and if you want the posts to go back to hitting the feed immediately, simply toggle the switch back to &#8216;Inactive&#8217; and press &#8216;Update.&#8217;</p>



<p><strong>Don&#8217;t Forget to Check Out the WPCode Snippet Library</strong></p>



<p><a href="https://wpcode.com/"  title="WPCode - WordPress Code Snippet Plugin" rel="noopener">WPCode</a> also comes with a huge collection of other code snippets, too. You can see what&#8217;s there at <strong>Code Snippets » Library</strong> in your admin dashboard.</p>



<figure class="wp-block-image size-full"><img width="680" height="335" src="https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodelibrary.jpg" alt="WPCode library of code snippets" class="wp-image-141045" title="WPCode library of code snippets" srcset="https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodelibrary.jpg 680w, https://www.wpbeginner.com/wp-content/uploads/2022/08/wpcodelibrary-300x148.jpg 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>You may be able to replace some single-use plugins on your site by simply activating snippets you find in the library. </p>



<p>For example, you can find snippets that will let you <a href="https://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/" title="How to Disable Automatic Updates in WordPress">disable automatic updates</a>, allow <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-svg-in-wordpress/" title="How to Add SVG in WordPress (with 2 Simple Solutions)">SVG uploads</a>, set a minimum <a href="https://www.wpbeginner.com/wp-tutorials/how-to-set-a-minimum-word-count-for-wordpress-posts/" title="How to Set a Minimum Word Count for WordPress Posts">word count for posts</a>, and much more. </p>



<p>We hope this article helped you learn how to easily delay posts from appearing in WordPress RSS feed. You may also want to see our guide on <a href="https://www.wpbeginner.com/beginners-guide/how-to-create-an-email-newsletter/" title="How to Create an Email Newsletter the RIGHT WAY (Step by Step)">how to create an email newsletter the right way</a>, or see our expert pick of the <a href="https://www.wpbeginner.com/showcase/7-best-live-chat-support-software-for-your-wordpress-site/" title="9 Best Live Chat Software for Small Business Compared (2022)">best live chat software for small business</a>.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-delay-posts-from-appearing-in-wordpress-rss-feed/">How to Delay Posts From Appearing in WordPress RSS Feed</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/tutorials/how-to-delay-posts-from-appearing-in-wordpress-rss-feed/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
