Basically, to add admin-style.css
to admin:
function wpdocs_enqueue_custom_admin_style() {
wp_register_style( 'custom_wp_admin_css', get_template_directory_uri() . '/admin-style.css', false, '1.0.0' );
wp_enqueue_style( 'custom_wp_admin_css' );
}
add_action( 'admin_enqueue_scripts', 'wpdocs_enqueue_custom_admin_style' );
Do approximately the same for Javascript. See https://developer.wordpress.org/reference/hooks/admin_enqueue_scripts/
And see https://wordpress.stackexchange.com/search?q=custom+css+admin
Related Posts:
- How to remove admin menu pages inserted by plugins?
- Custom Dashboard Home Screen Options
- Admin Panel – Custom Menu Sub-Item LINK
- How to remove admin menu pages inserted by plugins and themes in the top admin bar?
- How to create custom backend admin menu in different languages?
- Changing Admin Menu Labels
- Making Custom Fields Standard in the Admin UI
- Add “external” link to admin menu in the backend
- Custom ReCaptcha Login
- Creating my own Admin Forms in a WordPress CMS?
- How to make custom bulk actions work on the media/upload page?
- Removing fields from the Media Uploader/Gallery
- deleted users still show in count?
- Appearance->Editor not visible
- Make sub menu items a main link in the admin menu using fuctions.php
- Modify custom Users Manage page
- How to build custom WP admin with custom URLs
- Redirect members to custom page upon logging in through WP admin
- How to get value from custom backend menu
- Retrieve and display data from custom db table in admin area?
- Add a page that appears in the backend admin that lists files to download? WP 3.3
- How to add another page in appearance tab of admin panel?
- Adding “Interesting Tags” & “Ignored Tags” like StackOverflow.com in a WordPress Blog?
- How do I change the default admin color scheme in MP6
- Add ‘Right Now’ widget to custom dashboard
- Custom Theme Want To Remove One Category From All Displays
- Replace “WordPress” word in title of Dashboard
- Why is the Links Manager visible?
- $wp_customize->remove_section for customizer setting?
- Extend Screen Options
- Adding custom styles to dropdown in editor
- how to add custom css and js on wordpress post editor directly without using .php file
- How to customize core admin pages within a theme?
- Allow non-admins to access the Customize theme page
- How to create a custom template to admin dashboard
- How to change popular term checklist title when edit post?
- WordPress customizer Preview not loading
- Organizing the position of widgetized areas in the backend
- How to use default WP form elements to interact with custom DB table?
- Can I add/replace the WordPress image in the Dashboard
- Extend WordPress Core Classes in OOP Theme?
- Develop Admin Panel Page
- Create small dashboard widget
- Customizing Users in Admin Area
- Custom Columns WordPress Admin
- Admin top level menu, pointing to an external url
- Restrict Viewing of post on both front and backend?
- add custom content to appearance/widgets screen
- add an option to the read page
- theme customizer – can a single option pass multiple values?
- Customizing admin look and feel for just one particular type of user
- Usage of custom post types in a custom admin menu
- User Custom Dashboard
- Mimicking admin panel menu from wordpress 3.0.1
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Open login logo URL in new tab
- Change admin_title of a plugin using code snippet/functions
- Custom admin menu items
- Delete a column in edit.php generated with a plugin
- Add admin page for specific post status (for example)
- Add helper text in custom-header section in admin
- How to show Term ID beside Name Category with wp_dropdown_categories()
- remove screenshot.png via dashboard
- Make Widget appear on Dashboard
- Add a menu item to admin dashboard which isn’t a link? [duplicate]
- POST 429 Error when trying to place more than 20 images into post at once
- Figuring out how to create “Option Pages” in WordPress admin
- how to edit or remove the dashboard footer message [duplicate]
- How to fix custom add menu page preventing media library from loading
- How to display custom admin pointers (tips/notifications) in Dashboard until dismissed?
- admin aoolbar add_node() and pulling in my post slug
- Check get_post value after wp-admin login
- My connecting URL form in html to PHP does not work
- Custom Admin Section
- where can i find the login page in wordpress and add my header to it
- Style Radio Buttons inside Edit Page (Custom Fields)
- Changing a setting in the wp-admin/customize.php reverts CSS styles to parent theme [closed]
- Show WP content on different PHP Sites
- Create Custom Admin Fields
- How to create functions that affect only a specific user
- Create dashboard setting which lets me set ID of category which is inserted into template
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- Exclude drafts in all() view of edit.php
- Can You Export Theme Settings From WordPress Multisite?
- How Can A Widget With Only One Instance Be Defined?
- How to insert a sitemap within a subsite when using WordPress multisite
- Child Theme – how to add new widget on a specific place?
- @font-face is not working in WordPress
- How-To add Custom field in WordPress wp-ecommerce Categories?
- One WordPress Installation for 2 Domains
- result from custom filter admin table list backend does not work
- Remove or move admin submenus under a new menu
- I’d like to be able to programatically setup a site to discourage crawling by search engines
- Divi theme: change overlay color from default blue to back [closed]
- failing to display a custom font [closed]
- Simple custom attributes on posts
- Custom query pagination with php parameter as arg problem
- How to add a static text at end of a wordpress permalink
- Add date under slider/grid featured content
- Why should I keep my personal WordPress separate from my “professional” one? [closed]