You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,8 @@
5
5
* Added translations to the plugin; plus default .pot file and German translations
6
6
* 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!
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Shortcode for showing the last updated date (and/or time) of an item of a post t
15
15
* Install & activate the "GitHub Updater" plugin, get from here: [https://github.com/afragen/github-updater](https://github.com/afragen/github-updater)
16
16
* Recommended: set your API Token in the plugin's settings
17
17
* 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`
19
19
* Install & activate the plugin
20
20
21
21
**Updates**
@@ -76,7 +76,7 @@ Will show only date (as set in WordPress Settings > General) for the item of a p
76
76
### Template Usage (Developers):
77
77
78
78
* 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!
80
80
* NOTE: You have to provide a unique post ID if using this outside of the Loop!
0 commit comments