Building admin interfaces in WordPress is quite ad hoc. Which is historical reason for many of those interface looking nothing like WP admin surrounding them.
In general it works in terms of markup, rather than colors. You don’t code in terms of “black” or “red”, but in semantic terms like “primary” or “notification”.
There are are some plugins/guides out there that help figure out markup (for example WP Admin Pattern Library) but they aren’t really complete/official/whatever.
So in general the process loosely works as following:
- Find a part of native WP admin with elements you need.
- Ripoff and reuse HTML markup of those elements.
- Fine tune whatever is missing with your own CSS.
- Keep an eye out for changes in markup with new WP releases (it likes to fiddle and keep admin pretty every couple years).
Related Posts:
- Using OOP in themes
- How can I allow the Editor Role to change Theme Settings?
- How to Link External jQuery/Javascript files with WordPress
- Undefined offset: 0 in > […] /wp-includes/capabilities.php on line 1067
- Editing Links in the Footer of WordPress Themes with Base64 Encrypted Code?
- How to set two different themes on one WordPress? (Desktop vs. Mobile)
- How can I add a set featured image function to a theme that doesn’t already have it built in?
- Jquery in Child Theme
- What are nulled themes?
- How to display date such “x ago”
- Css of both themes of my child theme isn’t showing up!
- FTP Username and password wrong while installing theme
- Copying theme from Localhost to Live does not copy all theme settings with it?
- Making the Header on the Twenty Ten Theme Less Tall?
- How to create child theme with Tesseract theme?
- How do I change the fonts in the Twenty Thirteen theme?
- Register theme customizer settings when theme activates [duplicate]
- Can I obtain differents links for different installed theme?
- hfeed CSS class in Twentyeleven Theme
- Will activating a different theme preserve custom settings to current theme?
- Question about the way that wp_register_script works
- Specific theme for non logged in users
- How do I apply my CSS to a theme page?
- How do you get thumbnails to show up in the admin edit post?
- How to change the contact info at the bottom of my theme [closed]
- Customize “Continue Reading” text [closed]
- Embedded Videos (PB) – Not Available
- How does a Child Theme works?
- WordPress not displaying themes in the wp-content/themes folder
- How to create child theme of already active and customized theme
- none of my css is working in my child theme
- Finding wordpress file in theme editor using the theme name
- Private theme update with zip archive without deactivating the theme
- Displaying a widget in sidebar only when no other widgets rendered?
- How To Remove The “Delete” Theme Option In Dashboard
- How Do I Use A Custom Mobile Theme?
- How can I make a different theme be viewed for logged in users vs guests?
- Published site reverts without changes to theme
- What is calling this parallax-slider.less file that is missing? [closed]
- Search form not finding content in template page
- Files empty after moving with FTP
- Full page (no WP admin menus and options) admin theme options
- How to use one theme for multiple WordPress sites?
- Make multiple pages and set template/content on theme activation?
- My new WordPress theme based on the TwentyEleven theme doesn’t display the front page OR the blog page
- Translate a site based on different themes
- Problems to disable the comments for my statics pages
- Any Good WordPress Themes Compatible With The BBPress Plugin? [closed]
- Template messed up on viewing posts
- Interpretation and explanation of register sidebar
- Removing the references to the wp-content folder
- Show hyperlinks only when user is loggedin
- I don’t know how to put a placeholder [closed]
- What data does WordPress theme update pull If there is an update?
- remove theme’s name from dashboard .. How?
- how to stop a gallery slideshow
- How can i set default pages to a word press theme? it shouldn’t be changed even if i install the theme in different host
- WordPress 2022 template, how to see the blocks added in post template on post edit?
- Two themes using a Multiple Themes plugin
- Broken theme, stylesheet is missing after uploading the right theme via FTP
- I cannot get an Advanced Custom Field code snippet to work – and ACF support say it should work
- Theme seems to be preventing me from adding a new page to my site
- WordPress margin issues
- 12 column grid layout
- Remove style id inline CSS in WordPress
- How to find file that placed a line in my header
- Where to find child themes?
- how to create a section inside a section with theme options customizer
- WordPress thinks my custom theme is a theme in the public theme repository
- Warning: call_user_func() expects parameter 1 to be a valid callback
- Phone numbers showing same color as header [closed]
- Baskerville Theme – How to use the masonry grid layout on other pages
- Changing admin Textarea to integrated WP editor
- Line break no working on theme
- What is the template file for topic layouts in bbPress?
- Style of a theme
- Orion theme (from theme forest) [closed]
- QA/Staging envirnoment for wordpress sites
- Will this js code work in a page template?
- Diagnosing a connection reset problem
- Create /archive page in WordPress Theme
- Customising a theme
- Blog shows up without Theme/CSS styles
- Boldy theme – Regarding the images above the boxes
- Symbolic Links for themes – linking one theme to many wordpress installs
- Fatal error: Call to undefined function get_header() and BuddyPress [closed]
- How can I allow a client to edit certain parts of a static site?
- hardened wordpress linux install
- which theme is this? [closed]
- JQuery Error in theme for .live is not a function [closed]
- How can I either move the nav bar down or create more space for the header? Theme – Ajaira
- To create a theme or use an existing one? [closed]
- Overwrite functions.php of a theme – What if the theme is updated?
- How to add/edit content Custom Content item in theme
- Is there a WordPress theme for twittstrap? [closed]
- Is it possible to dynamically show different themes for different users? [duplicate]
- Why does WP theme not look like promoted? [closed]
- Remove image next to header image on WellExpo theme [closed]
- How do I get rid of the Mindblown and the book recommendations?
- Adding PHP code to single template in 2023 edition of WordPress theme