Support » Plugin: Boxzilla » Showing on 404 and other error pages

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danny van Kooten


    Hey @mechawear,

    Currently there is no way to do that using the visual interface, but I can see how this would be useful so we are going to take a look at how to make this easier.

    Until then, the following code snippet will disable all boxes on any 404 page.

    add_filter(‘boxzilla_load_box’, function($should) {
    return ! is_404();

    You can add this code to your theme its active functions.php file, to a custom plugin of its own or using a plugin like

    Hope that helps.

    Thread Starter MechaWear


    Thanks for your reply, Danny. I really appreciate it.

    My theme (“Virtue”, by Kadence WP) has a custom 404 page option. So I just added the page id to the no-show list in the Boxzilla settings. That seems to have done the trick.

    Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing on 404 and other error pages’ is closed to new replies.