Fixing WP CTA plugin exclusions when sticky buttons won’t disappear

Call-to-action (CTA) buttons are essential for driving leads, but when they appear in the wrong places, they can hurt user experience. A client using the WP CTA plugin found that sticky “Contact Us” buttons continued to appear on pages where they had already been excluded in the plugin settings. Freshy’s team stepped in to investigate and implement a practical solution.

Issue background

The client’s site used the WP CTA plugin to display sticky CTA buttons linking to a contact page. While the plugin allows administrators to exclude specific pages, the client reported that the buttons were still appearing even after exclusions were configured.

This presented two issues:

  • Visitors were seeing redundant buttons on pages where they weren’t needed.
  • The plugin’s built-in exclusion logic wasn’t functioning as intended.

Diagnosis

Our developers tested the plugin configuration and confirmed that the exclusions were set correctly. However, the CTA buttons still displayed, indicating that the plugin’s exclusion feature contained a bug.

Steps taken during diagnosis included:

  • Testing multiple WordPress hooks to programmatically remove the CTA button from excluded pages.
  • Verifying the plugin’s Pro version behavior against expected functionality.
  • Determining that no available hook successfully resolved the issue.

Resolution steps

Since the plugin’s built-in controls weren’t working as expected, Freshy implemented a workaround:

  1. Temporary CSS override
    Added CSS rules to hide the sticky “Contact Us” button on excluded pages, while ensuring the button still displayed properly on intended pages.
  2. Escalation to plugin support
    Identified the issue as a plugin bug and prepared to provide login credentials so the developer could review and patch the problem.
  3. Client approval of solution
    The client confirmed satisfaction with the CSS fix and opted to keep it in place for now.

Final outcome

With the CSS override in place, the unwanted sticky CTA buttons were removed from excluded pages, restoring the intended site experience.

While the issue was ultimately traced back to a plugin bug, Freshy provided an effective short-term solution and advised the client on the best path forward: opening a support case with the plugin developer for a permanent fix.

If your WordPress site is experiencing similar plugin issues—whether with WP CTA, WooCommerce, or another third-party plugin—Freshy can help troubleshoot and implement effective solutions. Contact Freshy today to ensure your site runs smoothly and your calls-to-action display exactly where you want them.