Adding Custom Admin CSS Styles and JavaScript to the WordPress Dashboard

Customizing the WordPress admin can be very useful. A few reasons come to mind: It’s straightforward to customize WordPress themes using CSS and JavaScript. If you need to adjust things on the admin side, here’s a reliable way to include custom scripts and styles from your theme in the WP Dashboard, in a way that… Continue reading Adding Custom Admin CSS Styles and JavaScript to the WordPress Dashboard

Published
Categorized as Snippets

Enqueuing and Loading Custom CSS and JavaScript for Your WordPress Theme: Here’s One Way

Need to load custom CSS and or JavaScript for your custom WordPress theme? There are plenty of ways to do that; here’s mine. Header In your theme’s header.php file, make sure to include the wp_head() function just before the closing </head> tag. For example: Action Hook The hook to use for enqueuing both scripts and… Continue reading Enqueuing and Loading Custom CSS and JavaScript for Your WordPress Theme: Here’s One Way

Published
Categorized as Snippets