0

Several months ago, I was browsing around the Internet and came across a WordPress site that had updates on the posts enclosed in [edit]...[/edit]. Obviously this was a function provided by a plugin that was no longer active.

I searched Google and the WordPress plugin directory for a plugin that provided this shortcode, but found nothing. Presumably the content within [edit]...[/edit] (or [edit date="yyyy-mm-dd"]...[/edit]) was displayed in a special way, like a revision list below the post or something.

Are there any plugins that do this? I immediately wanted to add the functionality a plugin that would use a shortcode set up in that way to my site, but couldn't find the plugin.

1
  • Hmm isn't this for what the ins and del buttons are for? I'm a bit puzzeled about the benefit of a shortcode here.
    – hakre
    Commented Nov 5, 2010 at 21:46

2 Answers 2

1

A Google code search for "add_shortcode('edit'" gives me only one hit: Shailan Theme Framework, with an edit shortcode that places the edit link in your content. Probably not what you want?

1
  • No, but that search is a good one. I don't think Google knows about the plugin I'm looking for, though. It's probably long discontinued/dead.
    – dgw
    Commented Nov 9, 2010 at 3:32
1

Creating your own within the functions file would be rather straightforward. Take a look at this: http://codex.wordpress.org/Shortcode_API

1
  • Answers should be more than links :)
    – kaiser
    Commented Sep 15, 2012 at 9:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.