Display Rules Pro

Display Rules give you precise control over where the WhatsApp button appears. Show it only on pages that matter, or hide it on pages where it doesn't belong.

How it works

By default, with no rules configured, the button appears on every page of your site. Display Rules let you override this with two types of rules:

Exclude rules take priority over include rules. If a page matches both, the button is hidden.

Rule types

Rule typeDescription
Specific page or post Select exact pages or posts from a searchable dropdown. The rule matches only that specific piece of content. Useful for targeting a contact page or a key landing page.
Post type Matches all content of a given post type — all Pages, all Posts, all Products, or any custom post type registered by other plugins. Useful for "show on all products" or "hide on all blog posts."
URL pattern Matches pages whose URL contains a specific string or pattern. Use * as a wildcard. Examples: /shop/* matches all URLs under /shop/, *checkout* matches any URL containing "checkout".

Adding rules

  1. Go to Settings > WaFloat Pro ⚡ and scroll to the Display Rules section.
  2. Choose whether to add an Include or Exclude rule using the type selector.
  3. Select the rule type (specific page, post type, or URL pattern) and fill in the value.
  4. Click + Add Rule to add more rules. Rules of the same type are combined with OR logic — any match triggers the rule.
  5. Click Save Pro Settings.

Common examples

Show button only on WooCommerce product and cart pages

Add include rules:

Hide button on the blog

Add an exclude rule:

Show only on a specific landing page

Add an include rule:

No rules = show everywhere. If you have no include or exclude rules saved, the button appears on every page. You only need rules if you want to restrict or target its visibility.