Linux 软件免费装
Banner图

PCF Christmas Countdown

开发者 PCFDev
更新时间 2015年10月6日 16:59
捐献地址: 去捐款
PHP版本: 4.0 及以上
WordPress版本: 4.3
版权: GPLv2 or later
版权网址: 版权信息

标签

calendar christmas date count down countdown xmas pcf

下载

1.0 1.1 1.3 2.0 2.1 2.2

详情介绍:

Basic Instructions This plugin works out-of-the-box, so once the plugin is installed, you can place a shortcode wherever you want. Use the shortcode [pcf_xmas_countdown] to output the countdown. The countdown will output in days by default (e.g '105 days until Christmas!'). Changing output type The shortcode can be given a 'type' attribute, like so: [pcf_xmas_countdown type="days|weeks|sleeps"] This enables you to change the output type. There are 3 types to choose from: If you do not specify the type attribute, or specify an invalid type, it will default to 'days'. Example: [pcf_xmas_countdown type="weeks"] will output as It's x weeks and y days until Christmas! Styling the output Styling the output is an advanced setting, that involves writing custom CSS. The shortcode can be given an 'id' attribute, which can then be used to style the output using CSS. For example, [pcf_xmas_countdown id="my-id"] would output in HTML as ... You can then add custom CSS through Appearance > Editor. If your theme supports custom CSS, you may be able to add your styles in Theme Options. If there is a custom css file in Editor, it is advised to use that for custom styles. Here is an example of some custom styles: my-id{ color: red; font-size: 16px; text-decoration: underline; } This will set the output to be red, underlined, and to have a font size of 16px.

安装:

  1. Upload 'christmas-countdown.zip' to WordPress
  2. Activate the plugin once installed.
  3. Place shortcode where you want the countdown to appear!

屏幕截图:

  • 'Days and Weeks' Countdown
  • 'Days' Countdown
  • 'Weeks' Countdown
  • 'Sleeps' Countdown

升级注意事项:

2.2
  • Slight bug fix, upgrade is advisable.
2.1
  • Added some new features that may be useful, see changelog.
  • Changed some algorithms so that the plugin is less buggy, upgrade if you can.
2.0
  • Rewrote a large amount of the plugin for functionality. Upgrade as soon as possible.
1.4
  • Upgrading is advised as it creates a more natural output for the plugin.
1.3
  • Changes plugin output to make more sense, upgrading is advised.
1.2
  • New version fixes some compatibility issues, so updating is advised!
1.1
  • Upgrading is advised as an algorithm was rewritten so that the plugin doesn't show negative days if the set date has passed.
1.0
  • N/A

常见问题:

Can I style the outputted text?

Yes! You can add an ID using the id id attribute. See 'Description' for more information.

Can I change the output text?

Other than the built in type attributes, no. However, with the premium version of our plugin you can custom this text.

更新日志:

2.2 2.1 2.0 1.4 1.3 1.2 1.1 1.0