Apps
Building Basehim apps: the manifest and lifecycle, hooks, the App API, admin screens, AJAX actions, permissions, content types and blocks.
24 articles
-
Basehim Dev Tools: build and manage your site with an AI agent
Install Basehim Dev Tools from the Marketplace and connect an AI agent such as Claude: it can manage content, build and change themes and apps, read logs and fix problems on your site. Setup, modes, safety checks, rollback and the full tool list.
-
Admin bar for apps and themes
Add menus, live panels, badges, notices and quick-search results to Basehim's admin bar from an app or theme: the adminBar() API, conditions, hooks and examples.
-
Sending email from apps
Send email from a Basehim app with $this->api()->mail(): send() and sendTemplate(), the mail.send permission, the mail.before_send, mail.sent and mail.failed hooks.
-
Content types, taxonomies and custom fields
Add your own kinds of content to Basehim from an app: content types with public pages, archives, sitemap and search; taxonomies with term pages; custom fields checked against a schema and shown in the editor; theme templates and helpers (bh_field, bh_query); the app API, REST API and MCP; and the editor's permalink line and preview.
-
Search
BH Search, Basehim's one search framework for core and apps: how searching works everywhere (every word in any order, phrases, exclusions), the shared index and its engines, Settings → Search, making an app's records searchable with api()->search(), search results in themes, custom engines and measured performance at a million items.
-
Build with AI
How to build Basehim apps and themes with an AI assistant: three ways to work (a chat assistant, a coding agent on your computer, or an assistant connected to your site through MCP and Basehim Dev Tools), a safe step-by-step workflow, and what to check before anything reaches a live site.
-
Prompts for building with AI
Ready-made prompts for building Basehim apps and themes with an AI assistant: a new app, admin screens, AJAX, public pages, widgets, scheduled imports, uploads, MCP tools, themes, reviews, fixes, migrations and release notes. Fill in the blanks and paste.
-
AI context for Basehim development
One compact page of rules and real API signatures for AI assistants building Basehim apps and themes. Paste it into your AI before you ask for code, or point the AI at this page, so it follows Basehim's conventions instead of guessing.
-
Data tables
Basehim's shared admin list tables: how an app adds a column to Posts, Pages, Comments or Apps without replacing the screen, the two-phase prepare/render contract that keeps tables fast, declared row and bulk actions, user preferences, security and reusable cell components.
-
Media and uploads for apps
How an app takes files through the AJAX gateway, keeps private files, adds to and changes the media library, and extends every upload with hooks, filters and browser events, all without touching core. New in Basehim 1.2.87.