Date Published Shortcode
Jonah Hoj By Jonah Hoj

May 04, 2022

Date Published Shortcode Plugin

Automatically puts in the date that the post was published, using the shortcode [post_published].

The short description really says it all. No bullshit, no complex stuff, just a simple shortcode that you can copy and paste to save a few seconds. I really made this so that I wouldn’t have to glance at the date every time that I posted an article; quite lazy, I know, but automating stuff is cool, and now I at least know how to put up a plugin on the WordPress repository.

Installation

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Plugin Name screen to configure the plugin

Screenshots

  1. This is what your shortcode should look like. Really simple, just [post_published].

    This is what your shortcode should look like. Really simple, just [post_published].

  2. This is what it should look like on the front end.

    This is what it should look like on the front end.

Changelog

0.1.0

The first, and probably last, change.

0.1.1

Fully up to date, thanks to a very nice tweet 🙂

<?php code(); // goes in backticks ?> 

Details

  • Version: 0.1.0
  • Active installations: 700
  • WordPress Version: 4.0
  • Tested up to: 5.9.10
  • PHP Version: 5.2.4

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars