This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Date Published Shortcode

Lýsing

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.

Skjámyndir

  • This is what your shortcode should look like. Really simple, just [post_published].
  • This is what it should look like on the front end.

Uppsetning

  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

Umsagnir

29. júlí, 2018
I noticed this coding on a blog, but was paranoid about digging into code. I'm gratified to see it in plugin form. Gave me the motsy to open this up in the wp editor, so I could add my preferred date format ( 'M j, Y' ) for Jul 29, 2018. Happy camper! Thank you
Skoða 1 umsögn

Þátttakendur & höfundar

“Date Published Shortcode” er opinn hugbúnaður. Eftirfarandi aðilar hafa lagt sitt af mörkum við smíði þessarar viðbótar.

Höfundar

Breytingarsaga

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 ?>