Nid yw’r ategyn hwn wedi cael ei ddiweddaru ers 3 ryddhad mawr. Efallai nad yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio gyda fersiynau mwy diweddar o WordPress.

Date Published Shortcode

Disgrifiad

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.

Lluniau Sgrin

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

Gosod

  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

Adolygiadau

Gorffennaf 29, 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
Read all 1 review

Contributors & Developers

“Date Published Shortcode” is open source software. The following people have contributed to this plugin.

Cyfranwyr

Cofnod Newid

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