@wpexplorer If you exposed the Easy_Notification_Bar via a global var, someone could do something like this:
global $easy_notification_bar; // Plugin author would have to make this available.
if(has_action('wp_body_open', [$easy_notification_bar, 'display_notification'])) {
remove_action('wp_body_open', [$easy_notification_bar, 'display_notification']);
add_action('wp_footer', [$easy_notification_bar, 'display_notification'], 999);
}
And then the CSS to override is:
.easy-notification-bar--sticky {
bottom:0;
}
Support for that could probably be built in via a setting, too. Though it doesn’t handle AMP, which the plugin does.
YMMV though, since not every theme is guaranteed to put their wp_footer()
call just before </body>
. Though how different is that gotcha than the “your theme may not do wp_body_open” gotcha.