• On specific pages and posts, I’d like to include information about when the page or post was last edited and expose a history of all published revisions so readers can see old versions of the page and understand how it has changed over time. This should only show published versions – saved draft versions shouldn’t be visible to readers. However, it seems like the revision history is more for admins to fix mistakes.

    Is there any way to do what I’m looking to do? Ideally, I’d be able to put a widget on my page or in my template that gives readers a link to the revision history, if one exists.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @thomasjowens

    While it’s possible to display list published revision history for post or page on your website for users that are not logged in, it may require you to do it programmatically with the use of a custom code which you’ll need to develop yourself as most of the plugin you might find on the WP.org library like – Simple History might not work exactly as you want it.

    Best,

    • This reply was modified 1 month, 4 weeks ago by tarhe.
    • This reply was modified 1 month, 4 weeks ago by tarhe.
    • This reply was modified 1 month, 4 weeks ago by tarhe.
    Thread Starter thomasjowens

    (@thomasjowens)

    Thanks, @obt28. That’s rather unfortunate. I’d consider that rather fragile and I’d need to regularly monitor WordPress releases for any changes that would break that implementation. It seems like this should be native functionality. I’ll have to poke around the feature requests to see if someone else suggested it (I didn’t see anything in my quick searching, but I’ll spend more time).

    If you choose to do it grammatically you can use the wp_get_post_revisions() Function on your code to get the revision history and process it the way you’d like to display it or you can display it via simple widget.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.