Kjo shtojcë s’është testuar me 3 hedhjet e rëndësishme të fundit në qarkullim të WordPress-it. Mund të mos e mirëmbajnë më, ose mundet të mos mbulohet më dhe mund të ketë probleme përputhshmërie, kur përdoret me versione më të freskët të WordPress-it.

WPToggler

Përshkrim

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

Instalim

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

PBR

Do I use this at my own risk?

Yes.

Shqyrtime

Për këtë shtojcë s’ka shqyrtime.

Kontribues & Zhvillues

“WPToggler” është software me burim të hapur. Në këtë shtojcë kanë dhënë ndihmesë personat vijues.

Kontribues

Regjistër ndryshimesh

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.