Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
/* Get Post Revisions on Single Post Page */ function jnews_revisions() { $post_id = get_the_ID(); if( is_single($post_id) ) { $revision = wp_get_post_revisions( $post_id ); $total = count($revision); $output = "
{$total}
"; echo jnews_sanitize_output( $output ); } } add_action( 'jnews_render_before_meta_right', 'jnews_revisions' );
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)