Skip to content

Commit e83e618

Browse files
committed
minor additions
readme & changelog
1 parent 3fe3208 commit e83e618

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
* Added translations to the plugin; plus default .pot file and German translations
66
* Added "get_the_ID()" as the default value of "post_id" parameter -- Note: in this case the Shortcode could be used as is [siu-item-updated] but within the Loop!
77
* Added CHANGES.md file for changelogs
8+
* Added installations instructions to readme
9+
* Improved readme overall
810
* Minor formatting stuff
911

1012

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Shortcode for showing the last updated date (and/or time) of an item of a post t
1515
* Install & activate the "GitHub Updater" plugin, get from here: [https://github.com/afragen/github-updater](https://github.com/afragen/github-updater)
1616
* Recommended: set your API Token in the plugin's settings
1717
* Go to "Settings > GitHub Updater > Install Plugin"
18-
* Paste the GitHub URL "https://github.com/deckerweb/shortcode-item-updated"
18+
* Paste the GitHub URL `https://github.com/deckerweb/shortcode-item-updated`
1919
* Install & activate the plugin
2020

2121
**Updates**
@@ -76,7 +76,7 @@ Will show only date (as set in WordPress Settings > General) for the item of a p
7676
### Template Usage (Developers):
7777

7878
* Use WordPress' global "do_shortcode()" function as a template function, like so:
79-
* do_shortcode( '[siu-item-updated post_id="123" show_label="yes"]' ); --> parameters apply like for regular Shortcode usage!
79+
* `do_shortcode( '[siu-item-updated post_id="123" show_label="yes"]' );` --> parameters apply like for regular Shortcode usage!
8080
* NOTE: You have to provide a unique post ID if using this outside of the Loop!
8181

8282

0 commit comments

Comments
 (0)