This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WPR Halloween Scare

Description

NOTE: This plugin was developed for tutorial purposes with WorldPress Revolution’s Scary Halloween pop up tutorial. This plugin will not be supported or updated. It is free for any/all to use, customize or do with as they please. Enjoy.

This plugin creates a shortcode that when called, enqueues a javascript file that generates a popup that mimics a white noise tv static and then displays a scary, Halloween themed image/gif part way through the duration of the effect.

Plugin site: WorldpressRevolution

Demo: See Demo

Screenshots

  • That's all.

Installation

  1. Upload wpr-halloween-scare folder to the /wp-content/plugins/ directory

  2. Activate the plugin through the ‘Plugins’ menu in WordPress

  3. Use shortcode: [wprscare]

  4. Attribute “page” defines whether you want to specify a page/post type conditional. Available values are (home-default, home-static, blog, single, page, page-template), default is none and effect occurs when shortcode is called.

  5. Attribute “pagevalue” defines the type relative to the conditional above. Available values are the post id, slug or title relative to the “page” type conditional.

  6. Attribute “beginin” defines how many seconds to wait before effect takes place. Default is 3.

  7. Attribute “imwidth” is available only if you use a custom gif or image in place of the gif used in the imgs folder of this plugin. You can replace it with any image you want (as long as you provide the same name). If you do so, you must supply the image width in order for it to display correctly and in the correct location relative to the screen width.

  8. Attribute “imheight” is available only if you use a custom gif or image in place of the gif used in the imgs folder of this plugin. You can replace it with any image you want (as long as you provide the same name). If you do so, you must supply the image height in order for it to display correctly and in the correct location relative to the screen height.

  9. Attribute “endafter” defines when, in seconds, you want the animation to end. By default the value is set to 0 and the effect ends when the audio end event listener is called. However, with many mobile devices, audio is only available upon user action. I did not script this to take all of that audio on mobile nonsense, so in order to overcome the problem, you may define an endafter parameter so the effect is removed in mobile devices.

Reviews

Read all 2 reviews

Contributors & Developers

“WPR Halloween Scare” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WPR Halloween Scare” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Only version.