alexking.org

Main Navigation

  • Blog
  • Projects
  • Sports
  • About
  • Contact
Capsule

Capsule, The Developer’s Code Journal

I’m very pleased today to announce the release of Capsule, the developer’s code journal. Capsule replaces the scratch document you have…

Read More
Game Tonight: Yes

GameTonight for Status Board

GameTonight now creates a module for Panic’s excellent Status Board iPad app. The URL is simple, add ‘/statusboard’ to any metro…

Read More
threads-timeline

Announcing Threads

I’ve just released an initial beta of Threads, a WordPress plugin I’ve been working on for about a year. The idea is simple: show posts…

Read More

Expiring Content Shortcode

November 2, 2010

I released a really simple little plugin. All it does is allow you to mark content that should only display until a certain date/time, then hides it after that date/time. So it doesn’t do much, but what it does is pretty useful.

The download an more information for the Expiring Content Shortcode plugin is with with my other plugins on the Crowd Favorite website.

11 Replies

Categories Crowd Favorite, News, WordPress

  • 11 Replies
  • 7 Comments
  • 0 Tweets
  • 0 Facebook
  • 4 Pingbacks
Last reply was May 14, 2011
  1. Tweets that mention Expiring Content Shortcode | alexking.org -- Topsy.com
    View November 2, 2010

    [...] This post was mentioned on Twitter by blognews, Olof, Olof, WordPress Butler, WordPress News and others. WordPress News said: Expiring Content Shortcode http://bit.ly/bUGNpc [...]

  2. Justin Sainton
    View November 2, 2010

    Releasing a new plugin for WordPress E-Commerce next week, would love to pack this into it, as it does a little chunk of what I’m trying to accomplish – I’m from portand, OR, gonna be in Denver this week though, care to talk shop over coffee?

  3. Mert
    View November 3, 2010

    Hi Alex,

    This is a great plugin. It would probably be a more useful plugin if you allowed an option to 301 redirect to another page when expired. The URL to 301 redirect could be chosen by a field below the post. Just an idea.

  4. Dougal Campbell
    View November 3, 2010

    How about the converse — a shortcode that hides content until a certain time, then displays it?

    Maybe something like:
    [showafter time="2010-11-17 08:00"]The site is now live![/showafter]

    Seems like a pretty natural extension. :)

    Gotta love simple plugins that provide little bits of usefulness.

  5. Alex
    View November 3, 2010

    There are several existing plugins that do expiration of entire posts, this merely does the expiration of content within a post.

    Dougal – yep, exceedingly trivial to add (copy/paste the shortcode and change > to <=), but I had no need for the feature.

  6. AroundHarlem
    View November 3, 2010

    I’m confused.

    The content is deleted but not the post? So is the page “blank”?

    Do you have an example?

  7. Alex
    View November 3, 2010

    The content within the shortcode is not shown after it expires. I recommend reading the README.

  8. Expiring Content? Use this WordPress Plugin | ChurchIT
    View November 4, 2010

    [...] the past?You have the issue of expiring content! And if you’re running WordPress, you can use this plugin here to help with that. Very useful and very simple.Wish I had thought of it.[HT: WPCandy]Related [...]

  9. J. Medley
    View November 5, 2010

    This sounds awesome! Could be very useful for my site. We can’t say enough positive things about the WP HelpCenter! Got a project going as we speak.
    Continued success!

  10. Porciones de contenido que expiran en tu WordPress
    View November 8, 2010

    [...] Lo de WordPress no tiene nombre, cada día me sorprende más y más. Acabo de ver en aNieto2k (y Alex King) lo que llaman un código corto (shortcode en inglés) en forma de plugin para insertar contenido [...]

  11. Expiring Content? Use this WordPress Plugin | Church Mag
    View May 14, 2011

    [...] have the issue of expiring content! And if you’re running WordPress, you can use this plugin here to help with that. Very useful and very [...]

Logging In...

Comments are closed.

FantasyGrinder » « Around the web
wcsea-speakinggolf-swingsxswwcsfPhotographing Big Ben
prev next

Alex King, Web Developer

I live in Denver, CO where I founded Crowd Favorite. We enjoy building cool web stuff – especially with WordPress and Open Source.

I was an original contributor to WordPress, creator of ShareThis and the Share Icon.

You find me fascinating? Read more!

  • Twitter
  • Facebook
  • Instagram
  • GitHub
  • WordPress
  • Pinboard
  • Stellar
  • Untappd
  • Golfshot
  • LinkedIn
  • Crowd Favorite

Recent Blog Posts

  • Screeny Green Screen Revisited
  • 100 App.net Invites
  • Software is Like Legos
  • GameTonight, now with Event Times
  • Twitter vs. Feed Reading
  • Capsule Hotkeys and Background Queue
  • Awesome Web App/UI Designer Wanted (Contract)
  • GameTonight for Status Board
  • Capsule Reaction and My Usage
  • Capsule, The Developer’s Code Journal

Recent Threads

  • Passwords
  • Content Presentation
  • Social
  • Year in Review
  • Expectations

Archives

Categories

Powered by WordPress  ·  FavePersonal by Crowd Favorite

Copyright © 2002-2013 Alex King. All Rights Reserved.