=== Extra-shortcodes === Contributors: webvitaly Plugin URI: http://web-profile.com.ua/wordpress/plugins/extra-shortcodes/ Tags: shortcode, shortcodes, date, time, bloginfo Author URI: http://web-profile.com.ua/wordpress/ Requires at least: 3.0 Tested up to: 3.3.2 Stable tag: 1.3 [bloginfo show="name"], [site_title], [site_desc], [date format="l jS \\of F Y"], [time], [year], [month_name], [day], [weekday] == Description == = Shortcodes: = * `[bloginfo show="name"]` - [bloginfo params](http://codex.wordpress.org/Function_Reference/get_bloginfo); * `[site_title]` - Title of the site; * `[site_desc]` - Description of the site; * `[site_url]` - http://site.url; * `[wp_version]` - 3.3.1 (WordPress version); * `[date format="l jS \\of F Y h:i:s A"]` - Monday 23rd April 2012 09:37:57 AM; [php date format params](http://php.net/manual/en/function.date.php); * `[date format="l jS \\of F Y h:i:s A" timestamp="+2 years +3 months -20 days -10 hours +30 minutes"]` - Thursday 3rd July 2014 06:52:57 AM; [relative datetime formats](http://www.php.net/manual/en/datetime.formats.relative.php); * `[time format="h:i:s A"]` - 01:35:08 PM; [php time format params](http://php.net/manual/en/function.date.php); * `[year]` - 2012, `[year plus="3"]` - 2015, `[year minus="2"]` - 2010; * `[month]` - 4 (in April), `[month plus="10"]` - 2, `[month minus="8"]` - 8; * `[month_name]` - April, `[month_name plus="10"]` - February, `[month_name minus="8"]` - August; * `[day]` - 8, `[day plus="3"]` - 11, `[day minus="2"]` - 6; * `[weekday]` - Monday, `[weekday plus="5"]` - Saturday, `[weekday minus="5"]` - Wednesday; * `[hours]`, `[minutes]`, `[seconds]`; [Extra-shortcodes plugin page](http://web-profile.com.ua/wordpress/plugins/extra-shortcodes/) = useful plugins: = * [Page-list](http://wordpress.org/extend/plugins/page-list/) - show list of pages with shortcodes * [Iframe](http://wordpress.org/extend/plugins/iframe/) - embed iframe with shortcode * [Login Logout](http://wordpress.org/extend/plugins/login-logout/) - default Meta widget replacement * [Filenames to latin](http://wordpress.org/extend/plugins/filenames-to-latin/) - sanitize filenames to latin during upload == Changelog == = 1.3 = * refactor code (all based on [relative datetime formats](http://www.php.net/manual/en/datetime.formats.relative.php)) * reorganized docs * removed "loop" param = 1.2 = * added "timestamp" param to [date] shortcode = 1.1 = * added [bloginfo] = 1.0 = * initial release == Installation == 1. Install and activate the plugin on the Plugins page 2. Add shortcodes to pages or posts: `[bloginfo show="name"]`, `[site_title]`, `[site_desc]`, `[site_url]`, `[date format="Y-m-d"]`, `[time]`, `[year plus="3"]`, `[month minus="2"]`, `[month_name]`, `[day]`, `[weekday]`