Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
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 Nov 5 '10 at 21:46

2 Answers 2

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?

share|improve this answer
    
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 Nov 9 '10 at 3:32

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

share|improve this answer
    
Answers should be more than links :) –  kaiser Sep 15 '12 at 9:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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