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.
Plugin site: WorldpressRevolution
Demo: See Demo
wpr-halloween-scarefolder to the
Activate the plugin through the ‘Plugins’ menu in WordPress
Use shortcode: [wprscare]
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.
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.
Attribute “beginin” defines how many seconds to wait before effect takes place. Default is 3.
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.
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.
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.
Contributors & Developers
“WPR Halloween Scare” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Only version.