inserting custom css, html and js into the current page as a popup window

I found a small solution BUT its not the best instead of what you ask! You can create an custom page template in your theme or child theme https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/#manual And paste the code: https://www.w3schools.com/howto/howto_js_alert.asp <!DOCTYPE html> <html> <head> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <style> .alert { padding: 20px; background-color: #f44336; color: white; } .closebtn { margin-left: … Read more

Custom CSS Nav Menu Style Not Being Applied

Well, I found the solution. The problem was with the PHP code in the plugin itself. Here is the ‘additional_stylesheets’ function with the code that ended up working. function additional_stylesheets() { // register and enqueue our style. wp_register_style( ‘bt-wp-styles’, plugins_url( ‘bt-wp-styles/css/bt-wp-styles.css’ ) ); wp_enqueue_style( ‘bt-wp-styles’ ); } add_action( ‘wp_enqueue_scripts’, ‘additional_stylesheets’ ); So, that’s everything. The … Read more