WordPress plugin intelligence profile

WP HTML Rotator Plugin

Schedule HTML sections to be shown or not based on a date range using a simple shortcode.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.1
Current version0.1.3
WordPress coverageTested up to WordPress 3.1
Minimum stackWP 3.1 · PHP —
Directory statusactive
Last directory update21 Mar 201214y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records WP HTML Rotator Plugin version 0.1.3 as active, updated 14y ago and tested up to WordPress 3.1.

Overview

About this plugin

Schedule HTML sections to be shown or not based on a date range using a simple shortcode.

Right now the plug-in is enabled by using the rotator shortcode. For example, To specify we want to show a specific piece of HTML from 9am to 5pm you can use the following code:

[rotator start=”9am” end=”5pm”]

Some custom HTML.

[/rotator]

Where start and end parameters are using the date format specified in the php manual, so you can specify more specific dates like showing the HTML section all Tuesday between 10am and 11am, etc. Read the Other Notes section for more information.

Note: the hour range is server based time and the default timezone is UTC, in other words, it depends on the configured time of the server, you can set that in general settings at the admin console.

There is a page available at “Settings” -> “Schedule generator” in the wp admin console with a basic form which lets you generate the short code configuring different values like start and end times, among others.

Usage

Right now the plug-in is enabled by using the rotator shortcode. For example, To specify we want to show a specific piece of HTML from 9am to 5pm you can use the following code:

[rotator start=”9am” end=”5pm”]

Some custom HTML.

[/rotator]

That will show the contents only if the user access the blog post or page in the specified hour range.

Currently, it supports the following parameters:

  • start: a date to specify the start of the hour range, required.
  • end: a date to specify the end of the hour range, required.
  • visible: false to hide the html section, by default true.
  • inverse: to specify if we want to show the html section outside the our range, by default false.

Both start and end are using the date format specified in the php manual. For example, we can specify the timezone of the hour range:

[rotator start=”9am -0600″ end=”5pm -0600″]…[/rotator]

Note: Using GMT notation doesn’t work in some installations, not sure which php version is required for that to work.

Note: the hour range is server based time and the default timezone is UTC, in other words, it depends on the configured time of the server, you can set that in general settings at the admin console.

There is a page available at “Settings” -> “Schedule generator” in the wp admin console with a basic form which lets you generate the short code configuring different values like start and end times, among others.

Configuration

The first lines of the plugin contains some global variables to configure the plugin, for example, if you want to disable the generator from the admin -> settings page, among other configurations.

  • WP_HTML_ROTATOR_DEBUG: defines if the plugin echoes debug information.
  • WP_HTML_ROTATOR_ENABLE_WIDGETS: enables the shortcode to work on text widgets.
  • WP_HTML_ROTATOR_ENABLE_GENERATOR: enable the shortcode generator to be shown in the admin panel or not.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • html
  • rotator
  • shortcode
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.1

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.1.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.1
Minimum requirementsWordPress 3.1 · PHP not listed
Update activity21 Mar 201214y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.