Title: WPToggler
Author: larjen
Published: <strong>December 1, 2015</strong>
Last modified: December 1, 2015

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/wptoggler.svg)

# WPToggler

 By [larjen](https://profiles.wordpress.org/larjen/)

[Download](https://downloads.wordpress.org/plugin/wptoggler.zip)

 * [Details](https://wordpress.org/plugins/wptoggler/#description)
 * [Reviews](https://wordpress.org/plugins/wptoggler/#reviews)
 *  [Installation](https://wordpress.org/plugins/wptoggler/#installation)
 * [Development](https://wordpress.org/plugins/wptoggler/#developers)

 [Support](https://wordpress.org/support/plugin/wptoggler/)

## 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 } ?>
    ```

## FAQ

### Do I use this at my own risk?

Yes.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“WPToggler” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ larjen ](https://profiles.wordpress.org/larjen/)

[Translate “WPToggler” into your language.](https://translate.wordpress.org/projects/wp-plugins/wptoggler)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wptoggler/), check 
out the [SVN repository](https://plugins.svn.wordpress.org/wptoggler/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wptoggler/) by [RSS](https://plugins.trac.wordpress.org/log/wptoggler/?limit=100&mode=stop_on_copy&format=rss).

## 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.

## Meta

 *  Version **1.0.1**
 *  Last updated **11 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 4.3.1 or higher **
 *  Tested up to **4.3.34**
 * Tag
 * [toggle](https://wordpress.org/plugins/tags/toggle/)
 *  [Advanced View](https://wordpress.org/plugins/wptoggler/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wptoggler/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wptoggler/reviews/)

## Contributors

 *   [ larjen ](https://profiles.wordpress.org/larjen/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wptoggler/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://exenova.dk/)