Beskrivning
A shortcode to display the current year, for example in the footer section.
When using this shortcode you don’t have to manually update the year on your website, when a new year begins.
Just add the shortcode where you need it, within the text. Don’t forget to use the [ ] brackets.
[vict_year] visar det nuvarande året
Skärmdumpar
Installation
- Upload the plugin files to the \\’/wp-content/plugins/\\’ directory, or install the plugin through the WordPress plugins utility directly.
- Activate the plugin from the plug-in menu in WordPress.
- Add the shortcode wherever needed.
Vanliga frågor
-
Q: What shortcode do I use?
-
A: [vict_year] displays the current year wherever you want.
-
A: No, you can use the shortcode wherever you want. But ofcourse it is a really good idea to use the shortcode in the footer/copyright section.
-
Q: where can I use the shortcode?
-
A: anywhere you can use an shortcode in WordPress.
Recensioner
Bidragsgivare och utvecklare
”Current Year Shortcode VICT” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”Current Year Shortcode VICT” har översatts till 3 språk. Tack till översättarna för deras bidrag.
Översätt ”Current Year Shortcode VICT” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.17
- Update: updated code for WordPress version 6.7.
1.16
- Update: code update date() to gmdate()
1.15
- Update: updated code for WordPress version 6.6.
1.14
- Update: updated code for WordPress version 6.5.
1.13
- Update: updated code for WordPress version 6.4.
1.12
- Update: updated code for WordPress version 6.3.
1.11
- Update: updated code for WordPress version 6.2.
1.10
- Update: updated code for WordPress version 6.1. Changed minimal PHP and WordPress version.
1.9
- Update: updated code for WordPress version 6.0.
1.8
- Update: updated code for WordPress version 5.9.
1.7
- Update: checked code with WordPress version 5.8 and updated the FAQ.
1.6
- Update: checked code with WordPress version 5.7 and updated it.
1.5
- Update: checked code with WordPress version 5.6 and updated the FAQ.
1.4
- Update: checked code with WordPress version 5.5 and updated it.
1.3
- Update: checked code with WordPress version 4.5 and updated the Description.
1.2
- Update: changed Description, FAQ and screenshots.
1.1
- Bugfix: changed shortcode because of possible issues due to duplicate shortcodes within WordPress.
- Update: updated the Description and FAQ section with the new shortcode.
1.0
- First release of plugin