Ultimate Branding injecting code in frontend

Ultimate Branding is adding my custom admin bar css to the frontend of my site and I do not want it there. I have dealt with two issues by writing the following function:

function get_off_my_page() {
wp_dequeue_style('ub_adminbar_general_styles');
wp_deregister_style('ub_adminbar_general_styles');
wp_dequeue_style('favicons-front');
wp_deregister_style('favicons-front');
}
add_action('wp_enqueue_scripts','get_off_my_page', 100);

but I should not have to do that, There should be an option to only apply that code to the admin side of the site just like you have in the ‘Text Change’ section

  • Nithin Ramdas
    • Support Wizard

    Hello SD2k,

    I’m able to replicate this issue in my system. I’m marking this as a bug, and bringing this into the developers attention, so that it could be addressed in the next plugin release asap. Thanks for bringing this into our attention, have a great weekend ahead. :slight_smile:

    Best Regards,

    Nithin