Support » Plugin: Popup Maker - Popup Forms, Opt-ins & More » Admin ToolBar Missing?

  • Resolved ruess

    (@ruess)


    So after much frustration on my end as well as others on this forum, I’ve finally found a solution that a number of us are facing with this plugin, which for many of us, depending up on it’s interaction with other plugins/themes, removes the admin toolbar from the front-ends of our sites unless a popup is actively being displayed.

    The issue is an action called in load-popups.php on line 104:\

    add_action( 'wp_footer', 'popmake_render_popups', 1 );

    Clearly, setting the priority to 1 is questionably effective on more advanced sites where many other plugins are likely to also step on its feet. For me, for the admin toolbar to show back up again, I had to actually set the priority to 1000.

    If you want a nice easy fix to keep so that you don’t have to undo your changes with updates of this plugin (if the plugin authors don’t decide to address this directly), you can use the following code in your theme’s function.php file:

    //Override footer action and delay it for Popup Maker plugin to not remove admin bar
    add_action( 'wp_head', 'remove_popmake_render_popup_action' );
    function remove_popmake_render_popup_action(){
    	remove_action( 'wp_footer', 'popmake_render_popups', 1 );
    }
    add_action( 'wp_footer', 'popmake_render_popups', 1000 );
    • This topic was modified 1 year, 10 months ago by ruess.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Robert Gadon

    (@yogaman5020)

    Hello @ruess:

    I commend your diligence and concern by posting the above ^^^. If you’d like to engage the plugin developer directly on this matter, please repost at https://github.com/PopupMaker/Popup-Maker/issues.

    He’s typically very prompt at responding to posts like yours on the GitHub issues page.

    Our plugin is in beta testing right now for upcoming version release 1.7. The matter that you write about may already be addressed in the upcoming release. The plugin developer can speak more directly to that if you engage him on the GitHub issues forum.

    Thanks will do!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Admin ToolBar Missing?’ is closed to new replies.