Intended for use with Ninja Demo, this simple plugin adds a new widget that automatically outputs the demo entry form and allows you to specify the text to display based on whether or not a user is inside of the demo.
Follow Try Ninja Demo’s development on Github
Latest version: Download Try Ninja Demo v1.0.0 [zip]
- Network Activate the plugin through the Network Admin ‘Plugins’ menu in WordPress
- Visit the dashboard -> Appearance -> Widgets page to use the “Try Ninja Demo” widget.
Q. Do I have to use Ninja Demo to use this plugin?
A. Yes. This plugin will not create the widget if Ninja Demo is not activated.
Q. What does “Network Activate” mean in the installation instructions?
A. Ninja Demo runs on WordPress Multisite in a network configuration. Each demo user actually creates their own instance of the main network site every time they log into the demo. By network activating this plugin, you make it available to each [demo] site in the network.
Q. How do I output the demo entry form?
A. All you have to do is use the widget. When the user is not inside of the demo, the entry form will display just below the content you place in the widget. When the user is inside of the demo, your previous content and entry form will both be replaced by the content you place in the widget for users who are inside of the demo.
Q. Can I style the widget?
A. Certainly. Use the following CSS classes.
Wraps the entire widget output
Wraps all content below the widget title
Wraps all content you place inside of either textarea
Wraps only the content that displays if the user is not in the demo
Wraps only the content that displays if the user is in the demo
(Ninja Demo) Wraps the form question and submit
- first stable version