TutZone- Tutorials, Design news and Inspiration | ![]() |
Control When Your Posts are Available Via RSS Posted: 10 Sep 2010 03:45 AM PDT There are times when after making a post live we realize it needs something to be changed or modified correctly. You go back to admin panel and change it but the post is already published in your RSS feeds. But with this simple trick you can delay the time after which the post becomes live on RSS feeds also so that you get sufficient time to double check your post. Procedure:Note: Do take backup of your theme before you try this. 01. In your WordPress Admin panel go to Appearance => Editor. 02. Then choose functions.php file from right hand side and add below code: function publish_later_on_feed($where) { 03. In above code change 5 to the time delay you want in your RSS feed publication. In above example it is set to 5 Minutes. That concludes this simple and useful tutorial. Hope you like it. |
You are subscribed to email updates from TutZone To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
No comments:
Post a Comment