A contact bar on every page is better than a contact bar on none — but it is not the best configuration. A checkout page, a privacy policy, a thank-you page and a support article all have different jobs, and a floating button can get in the way of each.
Here is how the rules work, with configurations that hold up in practice.
Two directions, and the difference matters
| Mode | Meaning | Good for |
|---|---|---|
| Allow list | Show the bar only on the pages listed | Small sites, or a bar used for one purpose (cart, product pages) |
| Deny list | Show everywhere except the pages listed | Content sites where the bar belongs almost everywhere |
Choosing the wrong direction produces the classic bug: a site with an allow list of one page, and the owner wondering why the bar disappeared site-wide.
The dimensions you can match on
- Page type — front page, blog, single post, page, archive, search, 404, plus WooCommerce product, product category, cart, checkout and account
- Specific IDs — a post, a page or a product by ID
- URL patterns — with * and ? wildcards
- Login state — logged in or guest
- Device — desktop or mobile
Combine with AND or OR
AND means every configured condition must match; OR means any one is enough. Both are useful:
- AND — cart page and logged-in customer: the wholesale enquiry button only for account holders.
- OR — pricing page or a specific product: two unrelated places where the same question comes up.
If a site needs a rule that is already an OR of two ANDs, split it into two rules rather than fighting the logic.
Five configurations that work
- Checkout only — a bar for shipping and payment questions, nothing else.
- Products of one category — high-value items get a quotation button, accessories do not.
- Guests only — returning customers already have your number.
- Everything except legal pages — the deny list is short and stable.
- Nothing on the blog — readers are not buyers, and a floating bar interrupts long-form content.
How to confirm a rule before publishing
The panel shows a live line telling you whether the current page matches — for example “page type ✗ · visitor ✓”. Use it as you change settings; it saves a round of publish-and-check.
FAQ
Do rules apply to logged-in administrators?
While you are logged in, your own state counts. Test in a private window as a guest.
What happens with no rules enabled?
Nothing is blocked — the bar shows according to the channel settings only.
Can I hide the bar on a single post?
Yes. Add the post ID to a deny rule, or use a URL pattern for the slug.
Where this fits
Display rules are a PRO feature. See the full list.
Table of Contents
- How to Hide a Contact Button on Specific Pages (Rules That Work)
by Mloun - Catch Cart Hesitation: A Contact Bar on WooCommerce Cart & Checkout
by Mloun - How to Take Enquiries While You Are Closed (Leave-a-Message Form)
by Mloun - Contact Buttons for B2B Export Sites: Which Channel Comes First?
by Mloun - How to Translate Your Contact Bar With TranslatePress or WPML
by Mloun




