Site identity
includes/modules/class-builder-os-site-identity.php (Builder_OS_Site_Identity). Used by step 2 of the first run and Settings → Site identity (?tab=settings§ion=identity, admin-post.php?action=bos_site_identity, nonce bos_site_identity, manage_options). The Settings card edits logo, tab icon, name, description and social profiles; colors, phone, email and WhatsApp are only requested in the first run. It creates no new options: it writes where the other modules already read.
| Data | Where it is stored |
|---|---|
| Name and description | blogname, blogdescription |
| Logo | theme_mod custom_logo; if missing, also site_icon and the SEO org_logo |
| Tab icon | site_icon |
| Colors | Global design, site.accent (primary) and site.secondary (accent) |
| Phone and email | SEO org_phone and org_email; also the Chat’s phone and email channels if they were empty |
| The Chat’s first agent if there is none, or the only existing one (does not turn the Chat on) | |
| Social profiles | SEO social (one http or https URL per line, up to 20; they go in sameAs) |
When it opens. The first run opens by itself and once, on the first administrator desktop load after a new installation. Builder_OS::activate() creates the builder_os_setup option only if the site never had BuilderOS settings, because activation also happens when updating from Plugins or reactivating. On a site that is being updated it does not open or announce itself: it stays in Help. With the license not activated it waits until it is activated, and it does not open if the site already has a package or a builder header or footer.
Routes. A dedicated step, “How you’ll create the site” (route), comes right after the basics and saves the choice in the builder_os_setup option (route: ai or nocode). The steps of the route you didn’t choose are hidden, and you can change it whenever you want.
- With AI: “Connect your AI agent” (MCP server, in AI Integration) and “Turn your code into editable blocks” (prompt, specification, “Validate only” and sync in Packages).
- Without AI: “Site design” and visual builder.
A single path. The screen shows a numbered list of 12 steps, in this order: 1 License · 2 Site identity · 3 Clean URLs · 4 How you’ll create the site · 5 the route step (with AI, “Connect your AI agent” and “Turn your code into editable blocks”; without AI, “Site design”) · 6 Header and footer · 7 Menus · 8 Home page · 9 Outgoing email · 10 Security · 11 Backups · 12 Publish the site. (The AI route contributes two steps in the place of 5, so its list reaches 13 entries.)
“Whenever you want”. Below the path there is a separate section with the optional steps: Forms, SEO, Legal and cookies, Performance, Languages, Measurement, Store (only with WooCommerce) and CRM (only if active). They don’t block publishing and don’t count in the progress.
Each step is a <details>: the first unfinished one opens by itself with its button and the done ones fold into a line. It carries a status label (Done, Partial, Pending, Skipped, Not applicable or Optional), its text, its short form if it has one and the buttons “Skip for now” or “Resume this step” (the route step can’t be skipped). Steps with an associated guide carry a “How it’s done” dropdown (howto_map() in class-builder-os-setup.php): License, Connect your AI agent, Turn your code into editable blocks, Site design, Header and footer, Menus, Home page and Forms. Its content comes from the step-by-step guides (admin/partials/builder-os-docs-guides.php, howto mode); those guides are no longer repeated as a separate section on this screen (the partial stays the same for the documentation, see chapter 31).
Each step looks at the site’s real state with its module’s API and is checked again when the guide opens:
| Step | What it checks | Resolved in |
|---|---|---|
| 1 License | Valid signed license or local site | Plan and billing |
| 2 Site identity | Name, description, icon and time zone | Here |
| 3 Clean URLs | Link structure | Here |
| 4 How you’ll create the site | The chosen route (With AI or Without AI) | Here |
| 5 Connect your AI agent (With AI) | MCP server and accesses created | AI Integration |
| 5 Turn your code into editable blocks (With AI) | Packages installed | Prompt here; Packages |
| 5 Site design (Without AI) | Saved design, or the package’s | Global design |
| 6 Header and footer | Published in the builder or in the package | Header and footer |
| 7 Menus | Any menu with items | Menus |
| 8 Home page | Static front page, published and with content | Here |
| 9 Outgoing email | SMTP active or another email plugin | Test here; Settings |
| 10 Security | Firewall and 2FA for each administrator | Security |
| 11 Backups | Scheduled backup and date of the last one | Weekly backup here; Backups and migration |
| 12 Publish the site | No maintenance, indexable and https | Index here; Maintenance |
| Whenever you want: Forms | The site’s forms | Forms |
| Whenever you want: SEO | Front page description, image and logo | SEO |
| Whenever you want: Legal and cookies | Published policy; consent mode if measuring | Draft here; Tracking |
| Whenever you want: Performance | Page cache (own or another) and score | Performance |
| Whenever you want: Languages, Measurement, Store and CRM | Their setup; Store and CRM only if active | Their screen |
Path steps can be skipped and resumed: skipping counts toward progress and a done step always shows as done. The summary at the top says “N of M steps” and, with everything done or skipped, “Your site is ready”. BuilderOS includes a cookie banner (Tracking → Cookies, off by default); if the site already uses another manager, BuilderOS detects it and turns its own off.
No cost on the front end. class-builder-os-setup.php is only loaded inside is_admin(), and builder-os-setup.css and .js only on its screen. It works without JavaScript (except the icon picker): they are regular forms.
For developers. Filter builder_os_setup_steps (add, change or remove steps; each: group, route, optional, title, text, status done | todo | warn | na, detail, url, label, form). builder_os_home_head_actions adds actions to the Home header.
Checklist (Setup guide).
- New installation: the first run opens by itself once and doesn’t open again.
- First run: 4 steps with Skip and Back; “The essentials” requires the name and doesn’t save untouched colors; step 3 sets the site’s simple mode.
- Simple mode: hides the
HIDDENtools without disabling them; the user’s preference overrides the site’s. - “Getting started” (pill and panel) only shows to administrators, on BuilderOS screens and outside the first run; closing only minimizes, it disappears with all required steps done and Help → “Getting started” reopens it; there is no card on Home or in the CRM Overview.
- Settings → Site identity saves logo, icon, name, description and social profiles.
- A site that is updated or reactivated: it doesn’t open; it is in Help.
- Pending steps reflect the site’s real state before calling it finished.
- A single numbered path of 12 steps in the stated order; the route step switches between “With AI” and “Without AI” and hides the other’s.
- “Whenever you want” lists the optional ones separately and they don’t count in “N of M steps”.
- Steps with a guide bring “How it’s done” inside; the screen doesn’t repeat a “Step-by-step guides” section.
- The privacy policy is published and reviewed; if measuring, there is a cookie banner (BuilderOS’s, in Tracking → Cookies, or another) and consent mode.