Improved screens

For developersVersion 1.0.0Last updated:

Builder_OS_WP_Screens (module wp-screens, includes/class-builder-os-wp-screens.php), admin/css/builder-os-wp-screens.css and admin/js/builder-os-wp-screens.js (depends on builder-os-motion-ui and, if present, jquery, theme, nav-menu, site-health and user-profile); the login uses admin/css/builder-os-login.css. Widgets is enqueued separately (admin_enqueue_scripts, priority 20), because it is a Gutenberg screen without the skin. The JavaScript starts after jQuery’s ready callbacks (jQuery(function () { setTimeout(start, 0); })), because theme.js paints the Themes search in its ready and nav-menu.js and site-health.js start there.

ScreenCore filekind
Themesthemes.phpthemes
Menusnav-menus.phpmenus
Widgets (tokens and theme only)widgets.phpwidgets
Settings: General, Writing, Reading, Comments, Media, Permalinksoptions-*.phpsettings
Settings → Privacyoptions-privacy.phpprivacy
Other plugins’ settings (base settings_page_*)options-general.php?page=…settings-ext (base style)
Tools, Import, Exporttools.php, import.php, export.phptools, import, export
Site healthsite-health.phphealth
Export and Erase personal dataexport-personal-data.php, erase-personal-data.phpprivacy-tools
Profile and Edit userprofile.php, user-edit.phpprofile
Loginwp-login.phplogin module (brand_login)
  • Filters: builder_os_screens (array of classes; removing one returns that screen to the base skin), builder_os_screens_plugin_settings (bool, true: other plugins’ settings pages receive the skin and the base style), builder_os_hide_color_scheme (bool: hides WordPress’s color scheme selector on the profile; by default, when BuilderOS forces it with its own scheme, rail and header) and builder_os_login_maker (HTML with <b>: the login footer, by default “BuilderOS by GrayCoder”; an empty string removes it).
  • WordPress settings. Pill tabs between the seven Settings pages (labels come from core’s submenu, already translated, and respect permissions). table.form-table is a card with 24 radius with the label on top, the field below and the help in gray (also without JavaScript; maximum width 920 px). With JavaScript, each section title, its texts and its table form a single .bos-card.bos-wps-sec card, the same for other plugins’ sections (add_settings_section). 44 px fields; other plugins’ select2/selectWoo are dressed the same. Checkboxes are switches on the same <input type="checkbox"> (appearance: none, 40 × 24, lime knob); radios use the house’s bos-seg (4 options or fewer, short text, no other controls) or option cards (date and time formats, avatars, permalink structures and WooCommerce’s bases).
  • “Unsaved changes” bar (.bos-wps-savebar): dark pill at the bottom center. It appears only if the form differs from its initial state (a snapshot of the fields; passwords count only if something is typed). Save presses core’s submit (#submit), with its validation and other plugins’ handlers; Discard does form.reset() and fires change on each field. Core’s button stays in place.
  • Other plugins’ settings (settings_page_*): base style, no switches, bos-seg or changes bar (their JavaScript and AJAX saves aren’t touched). WooCommerce → Settings isn’t transformed: its module dresses it.
  • Themes (Backbone): card grid with the 16:10 screenshot, the active theme as the hero card with the lime “Active” chip, “Activate”, “Preview” and “Customize” as pills, “Theme details” as a glass pill over the screenshot, “Add theme” as a dashed tile and a glass bar with core’s search (the same #wp-filter-search-input, which theme.js listens to by id), / shortcut and “N themes installed”. The details and preview modals are dressed without touching their DOM; a MutationObserver rebuilds the chip when Backbone repaints.
  • Menus (nav-menu.js untouched): “Edit menus / Manage locations” as bos-seg, sidebar boxes as cards, items as rows with a handle and the type as a chip, and the save footer (#nav-menu-footer) as a glass pill stuck to the bottom. If the menus module is active and the user has edit_theme_options, a card links to BuilderOS’s menu editor (“Open in the BuilderOS editor”).
  • Widgets: core’s block editor with bos-ui, the dashboard’s light or dark theme and the tokens in header, sidebars and footer; since the fourth batch, with BuilderOS’s rail and header (see “Fourth batch”).
  • Tools: bos-card tiles with icon, title, description and arrow (tool_box, in PHP, also without JavaScript); in Import, each importer is a tile; Export is a one-step wizard (choose what to export with option cards, refine with each type’s filters from export.js, download), and what other plugins add with export_filters stays in the form.
  • Site health (site-health.js untouched): core’s ring dressed like Home’s (76 px; green, amber or red according to green/orange), with the score read from its stroke-dashoffset, and notices as rows with a colored dot and the category in a neutral chip, without core’s blue-bordered boxes.
  • Profile (profile.php, user-edit.php): dark hero with a 112 px avatar, role chip, name, email and the two-step verification status (printed on all_admin_notices, so it looks the same without JavaScript). With JavaScript, sections are grouped into cards by the fields each block contains, never by the title text, which is translated: Personal data, Account, Security (password, sessions, application passwords and two-step verification), Preferences and one card for each block from other plugins (show_user_profile, edit_user_profile; e.g. WooCommerce addresses). “Dashboard theme” (Preferences, hook personal_options): Light, Dark or Automatic, saved in bos_theme when pressing “Update profile”. All profile hooks are kept.
  • Login (wp-login.php): 48 px fields, 52 px button with the lime circle, show password with a stroke icon, “Remember me” as a switch (the same #rememberme), errors with a dot, discreet “BuilderOS by GrayCoder” footer and, on mobile, a compact dark band at the top (lime chip and headline). Other plugins’ hooks (login_form, captcha), registration, the second step of two-step verification and the embedded login (interim-login), which keeps core’s compact format, are preserved.