showif.webkodingtheme.comLive

No signup. Try it with a test card; the demo resets itself regularly.

Most stores end up wanting a rule: hide the wholesale prices from retail customers, show the loyalty banner only to members, run the weekend deal only at the weekend. Each one is a small piece of code, and after a year there are twenty of them scattered across the theme.

ShowIf turns those rules into settings. Pick what to show, pick who sees it, and the condition lives in the admin instead of in a child theme nobody remembers editing.

What you get, before you pay

Everything in the box, so there is nothing to discover after checkout.

Files

  • showif.zip, installed from the WordPress admin
  • Unminified source, no obfuscation
  • Changelog and sample data

Licence

  • 1 WordPress site
  • Licence key sent by email after payment
  • GPL v2 or later

Updates and support

  • 1 year of updates and email support
  • After that the software keeps working
  • Renew only if you want new versions

Requirements

  • WordPress 6.0+
  • WooCommerce 7.0+
  • PHP 7.4+
  1. 1
    Pick what to show

    A block, a widget, a shortcode or a WooCommerce hook.

  2. 2
    Pick who sees it

    Role, login state, membership, cart contents, schedule, device or location.

  3. 3
    Save the rule

    It lives in the admin, where the next person can find it.

What it does

  • Conditions by user role, login state and membership
  • Cart rules: total, quantity, specific products in the basket
  • Schedule by date, day of week or time of day
  • Device and location targeting
  • Works on blocks, widgets, shortcodes and WooCommerce hooks
  • Rules stay readable — no code in your theme

What you need

  • WordPress 6.0 or newer, PHP 7.4 or newer
  • WooCommerce 7.0 or newer for the cart and product conditions; the rest works without it
  • Nothing else. The point of the plugin is that the rules live in the admin instead of in a child theme

What ShowIf does not do

  • It does not create memberships, subscriptions or paywalls. It reads the state your membership plugin already sets and decides what to show.
  • It does not encrypt or protect files. Hidden content is not rendered, which covers page output, not a direct link to an upload.
  • The cart and product conditions need WooCommerce. Everything else works without it.

Questions

Do I need WooCommerce?

Only for the shop conditions — cart total, quantity, specific products in the basket. Role, login state, schedule, device and location all work on plain WordPress.

Does it work with block themes?

Yes. Conditions apply to blocks, widgets, shortcodes and WooCommerce hooks, which covers both a block theme and a classic one.

Can I hide prices from visitors who are not logged in?

Yes — that is one of the most common uses, along with hiding wholesale prices from retail customers. It is a role condition on the price output.

Will the hidden content still be in the page source?

No. The condition is evaluated on the server, so content a visitor is not entitled to is not rendered rather than hidden with CSS.

What happens to my rules if I deactivate the plugin?

The rules are stored, not applied — everything becomes visible again and nothing is deleted. Reactivating restores them.

Everything else is in the ShowIf documentation, and anything it does not answer goes to support@webkoding.com.

Not quite it? Three nearby

Not ready to buy?

We will write when there is a new plugin, or a release worth knowing about. A few emails a year, each about something we actually shipped — no offers, no sequence, and your address goes nowhere else.

One click to leave, from any of them. What we do with it.