Scheduled Content
开发者 |
Danny159
|
更新时间 |
2014年5月8日 23:30 |
PHP版本: |
3.5 及以上 |
WordPress版本: |
3.9 |
详情介绍:
After installing and activating the plugin you can use the shortcode [schedule]. You can pass upto 4 parameters, the date and the time to show the content and the date and time the content will expired and disappear from your page or post. You have to pass at least one parameter from the scheduled or expired.
Sample -
[schedule on='2014-12-01' at="10:01" expon='2014-12-01' expat="13:15"]
the content you want to hide here
[/schedule]
The 4 parameters are "on", "at", "expon" and "expat".
"on" accepts a date, until that date is arrived the content will be hidden.
"at" accepts a time. Time has to be set in 24hrs format. (date should be yy-mm-dd if you only pass time)
"expon" accepts a date, the content will disappear from the page on this date.
"expat" accepts a time. Time has to be set in 24hrs format. (date should be yy-mm-dd if you only pass time)
The time is compared with your blog's time zone settings, if you set your time zone to local time zone it would be easy for you. Go to "General" settings of your wordpress dashboard, under "Time Zone" you can set the time zone you prefer.
Shortcodes will also run inside this shortcode!!
安装:
- Upload and extract the .zip file downloaded to the
/wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Start using the shortcode
更新日志:
2.1
2.0
- Bug Fixes
- Remove Debug Code
- General Cleaning of Code
1.2
1.1
- Fix time issue that casues content to appear 1 hour early
1.0