Plugin info

Total downloads: 761
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/1/2015 (3732 days ago)
Added to WordPress: 12/1/2015 (10 years old)
Minimum WordPress version: 4.3.1
Tested up to WordPress version: 4.3.34
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 3732 days ago

20/100

Is WPToggler abandoned?

Possibly abandoned (last update 3732 days ago).

Compatibility

Requires WordPress: 4.3.1
Tested up to: 4.3.34
Requires PHP: f

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

WP Shortcodes Plugin — Shortcodes Ultimate
Rating 4.9/5 (5,906 reviews)Active installs 500,000
Widget Logic
Rating 4.4/5 (188 reviews)Active installs 100,000
Bellows Accordion Menu
Rating 5.0/5 (23 reviews)Active installs 10,000
Parent Category Toggler
Rating 4.8/5 (15 reviews)Active installs 10,000
Olevmedia Shortcodes
Rating 4.7/5 (26 reviews)Active installs 8,000

Description

A simple WordPress plugin that lets you toggle exactly one option on and off.

Installation

  1. Download to your WordPress plugin folder.
  2. Activate plugin.
  3. Modify your template file where you want the switch to take effect. (See example below.)
  4. Toggle away.

How to use the shortcode

In your post type in something like this:

[wptoggler true="This text will be displayed when true" false="This text will be displayed when false"] 

This will toggle the text in the post to your liking.

Example of how to use switch in template

This option is only meant for theme developers. If you put this somewhere in your template file to switch between the two states.

<?php if (!get_option('WPToggler_VALUE')){ ?> <h1>WPToggler is FALSE</h1> <?php } else { ?> <h1>WPToggler is TRUE</h1> <?php } ?> 

Frequently Asked Questions

Do I use this at my own risk?

Yes.

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.0.2

  • Added option to rename dashboard widget.

1.0.1

  • Added dashboard widget, so control is at the dashboard.
  • Added fully customizable textual control to the plugin settings page.
  • Added the ability to use the shortcodes in blog posts.

1.0.0

  • Uploaded plugin.