Free cookie consent management tool by TermsFeed Generator
All Products & Integrations

jalpi page builder docs

Installation

Requirements, activation behaviour, admin setup, developer builds, packaging and uninstall cleanup for Jalpi Page Builder.

Jalpi CoreDeveloper
15 min read Β· November 2026

Installing Jalpi Page Builder is a standard WordPress plugin install, but the activation step does real work: it creates three custom tables, seeds the Design System, and registers the default settings groups. This page covers the whole lifecycle β€” installing, verifying, configuring, building from source, packaging a distribution zip, updating and uninstalling β€” with the exact database and option names each step touches.

Everything described here comes from jalpi-page-builder.php, includes/class-jalpi-activator.php, includes/class-jalpi-settings.php, includes/class-jalpi-editor.php, uninstall.php and the build scripts.

Requirements#

The plugin header and readme declare the supported environment:

RequirementValue
WordPress6.0 or later
Tested up toWordPress 7.1
PHP8.0 or later
Plugin version1.0.5
LicenseGPL-2.0-or-later
Memory64 MB or more recommended (the built-in diagnostic warns below 64M)

There are no required third-party plugins. WooCommerce is optional β€” Jalpi_Woo::init_frontend() runs only when the Jalpi_Woo class is available, and the product widgets fall back to placeholder content when WooCommerce is inactive.

The plugin does not enforce a minimum PHP version at runtime with an activation guard; it relies on the Requires PHP: 8.0 header, which WordPress itself checks before allowing activation.

Installing the Plugin#

Jalpi Page Builder is published in the WordPress Plugin Directory at wordpress.org/plugins/jalpi-page-builder, so there are three install routes depending on what you are doing.

From the Plugin Directory β€” the normal route.

  1. In WordPress admin, go to Plugins β†’ Add New.
  2. Search for Jalpi Page Builder.
  3. Click Install Now, then Activate.
  4. Go to Jalpi Page Builder in the admin menu.
  5. Open any page or post and click Edit with Jalpi Page Builder.

This route also enables automatic update notifications in wp-admin.

Where to find the editor. After activation, open a page or post with any of these: the Edit with Jalpi Page Builder button on the Jalpi Page Builder screen; the Jalpi Edit row action in the Pages and Posts lists; the Jalpi Page Builder box on the classic edit screen; the Jalpi Edit link in the admin bar; and, new in 1.0.5, the Edit with Jalpi Page Builder button in the block editor toolbar. Users whose role has no Jalpi access (see Role Manager) do not see any of them.

From a zip β€” for a packaged build. Use Plugins β†’ Add New β†’ Upload Plugin and select dist/jalpi-page-builder.zip, the artefact produced by bin/build-zip.js.

Manually β€” the path the readme documents.

  1. Upload the jalpi-page-builder folder to /wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Jalpi Page Builder in the admin menu.
  4. Open any page or post and click Edit with Jalpi Page Builder.

The distributed zip deliberately omits the editor sources (admin/editor/src/), the build script and package.json β€” it ships only the compiled bundle in admin/editor/build/. If you intend to modify the editor, install from the full source tree instead. See Building From Source below.

What Activation Does#

register_activation_hook() points at Jalpi_Activator::activate(), which performs every one-time setup step.

Tables Created#

Three tables are created with dbDelta():

TablePurposeKey columns
{prefix}jalpi_pagesOne saved layout per postpost_id (unique), page_data LONGTEXT, version, created_at, updated_at
{prefix}jalpi_classesSite-wide reusable CSS classesclass_key (unique), name, styles LONGTEXT, favorite, sort_order, created_by
{prefix}jalpi_revisionsPage revision historycreated by Jalpi_Revisions::create_table()

All three use CREATE TABLE IF NOT EXISTS, so re-activation is safe and non-destructive.

Options Created#

Activation adds β€” never overwrites β€” the following options. add_option() is a no-op when a key already exists, so this is safe on both fresh installs and updates:

  • jalpi_version β€” set to JALPI_VERSION
  • jalpi_classes_version β€” 1
  • jalpi_classes_table_ready β€” '1'
  • jalpi_enabled_post_types β€” ['page', 'post']
  • jalpi_settings_general, jalpi_settings_layout, jalpi_settings_design, jalpi_settings_performance, jalpi_settings_breakpoints β€” seeded from Jalpi_Settings::defaults()

It then calls self::seed_design_system() to populate the Design System token set, and Jalpi_Revisions::create_table() to create the revisions table with its own jalpi_revisions_db_version guard.

Multisite#

The main plugin file hooks wp_initialize_site so that a newly created blog gets its own tables:

add_action( 'wp_initialize_site', function( $new_site ) {
    switch_to_blog( $new_site->blog_id );
    Jalpi_Activator::activate();
    restore_current_blog();
} );

Tables are per-site ($wpdb->prefix), not network-wide. Network-activating the plugin on an existing multisite install does not retroactively create tables on every existing blog β€” only new sites created after activation run through this hook. Existing sites get their tables when the plugin is activated on that site.

Verifying the Installation#

The plugin ships a Support Center with a read-only diagnostics routine (Jalpi_Support_Center::ajax_diagnostics()) at Jalpi Page Builder β†’ Support. It requires the edit_posts capability and writes nothing to the database or filesystem, so it is always safe to run.

The checks it performs:

CheckPass condition
PHP versionversion_compare( PHP_VERSION, '7.4', '>=' )
Builder database table{prefix}jalpi_pages exists
Orphaned layoutsNo rows in jalpi_pages whose post_id has no matching post (warns if any)
Asset: assets/css/frontend.cssFile exists and is readable
Asset: assets/js/jalpi-frontend.jsFile exists and is readable
Memory limitWP_MEMORY_LIMIT β‰₯ 64 MB (warns below)
Recent fatal errorsScans the tail of debug.log when WP_DEBUG_LOG is on, up to an 8 MB scan limit

If the builder table check fails, the diagnostic's own advice is to deactivate and reactivate the plugin, which re-runs Jalpi_Activator::activate().

The same screen collects non-sensitive environment facts for support requests β€” plugin version, WordPress version, PHP version, MySQL version, active theme, site URL, multisite flag, memory limit, max upload size, debug mode and active plugin count.

The Admin Surface After Activation#

Activation adds one top-level menu and four submenu entries.

Menu itemPage slugCapabilityRegistered in
Jalpi Page Builder (top level, dashicons-layout, position 30)jalpi-page-builder-editoredit_postsJalpi_Editor::register_menu()
Settingsjalpi-page-builder-settingsreadJalpi_Settings::add_menu()
Theme Builderjalpi-theme-builderedit_theme_optionsJalpi_Theme_Builder
Starter Sitesjalpi-website-templatesmanage_optionsJalpi_Theme_Builder
Supportjalpi-supportedit_postsJalpi_Support_Center

The Settings page is registered twice on purpose: as a hidden top-level page (so its hook name is always toplevel_page_jalpi-page-builder-settings, then immediately removed from the sidebar with remove_menu_page()), plus a cosmetic submenu entry with no callback. The submenu is declared with the read capability, but Jalpi_Settings::render_page() gates the actual screen on current_user_can( 'manage_options' ) and shows an "Administrator access required" message otherwise.

Editor Entry Points#

Jalpi_Post_Support adds three ways to open the editor for a given post, all pointing at the same URL shape:

admin.php?page=jalpi-page-builder-editor&post_id=<ID>
  • A meta box titled "Jalpi Page Builder" in the side column of every enabled post type, containing an Edit with Jalpi Page Builder button.
  • A "Jalpi Edit" row action on the Posts and Pages list tables (post_row_actions and page_row_actions).
  • An admin bar node with id jalpi_edit, added at priority 100, shown on singular frontend views and in the admin.

All three consult the jalpi_enabled_post_types option, so they appear only for post types you have enabled.

Visiting the top-level menu page without a post_id shows a dashboard listing the 50 most recently modified posts of the enabled types, each with an Edit with Jalpi Page Builder button.

Enabling Post Types#

Pages and posts are enabled out of the box. To enable more, go to Jalpi Page Builder β†’ Settings β†’ General β†’ Supported Post Types.

The list offered is every public post type except attachment, filtered through jalpi_selectable_post_types. When the General group is saved, Jalpi_Settings::sanitize_general() writes the selection into jalpi_settings_general['enabled_post_types'] and mirrors it to the standalone jalpi_enabled_post_types option:

// Keep the legacy option in sync so existing code paths still work.
update_option( 'jalpi_enabled_post_types', $clean['enabled_post_types'] );

That second option is the one Jalpi_Editor, Jalpi_Post_Support and the API actually read, so both stay consistent.

The same tab offers Disable Gutenberg, a per-post-type list stored in jalpi_settings_general['disable_gutenberg'] and applied through the use_block_editor_for_post_type filter. Internal post types such as theme templates are not enabled through this option β€” they are admitted to the editor by the jalpi_internal_editor_post_types filter instead.

Settings Groups and Defaults#

Jalpi_Settings registers five tabs β€” General, Layout, Global Design, Performance and Breakpoints β€” through the WordPress Settings API. Each maps to one option:

TabOption constantOption name
GeneralOPT_GENERALjalpi_settings_general
LayoutOPT_LAYOUTjalpi_settings_layout
Global DesignOPT_DESIGNjalpi_settings_design
PerformanceOPT_PERFORMANCEjalpi_settings_performance
BreakpointsOPT_BREAKPOINTSjalpi_settings_breakpoints
(Design System)OPT_DESIGN_SYSTEMjalpi_settings_design_system

The defaults returned by Jalpi_Settings::defaults() β€” themselves filterable via jalpi_settings_defaults β€” are:

GroupKeyDefault
generalenable_builder'1'
generalenabled_post_types['page', 'post']
generaldisable_gutenberg[]
layoutcontainer_width1200px
layoutsection_padding80px 0
layoutcolumn_gap20px
designprimary_color#6366f1
designsecondary_color#8b5cf6
designbody_font''
designheading_font''
designbase_font_size16
performanceenable_css_generation'1'
performanceenable_lazy_loading'1'
performanceenable_page_cache''
breakpointstablet_breakpoint1024
breakpointsmobile_breakpoint767

The Design System is seeded separately by Jalpi_Settings::default_design_system_tokens(), which ships starter tokens for colors (Primary, Secondary, Dark, White), font sizes, line heights, letter spacing, border radius, box shadows, spacing (XS through 2XL), container widths and opacity, with empty fontFamilies, typography and buttons lists.

Building From Source#

The React editor is compiled with esbuild. All commands run from admin/editor/.

npm Scripts#

ScriptCommandPurpose
npm run buildnode build.jsProduction build β€” minified, no source maps
npm run startnode build.js --watchWatch mode β€” unminified, inline source maps
npm run linttsc --noEmitType-check only
npm run packagenode ../../bin/build-zip.jsProduce the distribution zip

Dev dependencies are @types/react, @types/react-dom, esbuild, rtlcss and typescript. There are no runtime npm dependencies.

Build Output#

build.js writes four artefacts into admin/editor/build/:

  • index.js β€” the bundled editor, IIFE format, es2020 target, automatic JSX runtime
  • index.css β€” extracted editor CSS
  • index-rtl.css β€” RTL variant produced with rtlcss; if rtlcss cannot be loaded the LTR file is copied instead, so the stylesheet handle always resolves
  • index.asset.php β€” a WordPress dependency manifest returning ['dependencies' => ['react', 'react-dom', 'react-jsx-runtime'], 'version' => <md5 of index.js, first 20 hex chars>]

React is not bundled. A small esbuild plugin (wpGlobalsPlugin) rewrites react, react-dom, react-dom/client and react/jsx-runtime to the window.React, window.ReactDOM and window.ReactJSXRuntime globals that WordPress core provides.

In watch mode an onEnd hook regenerates index.asset.php and the RTL stylesheet after every successful rebuild.

How the Bundle Is Loaded#

Jalpi_Editor::enqueue_editor() runs on admin_enqueue_scripts and returns immediately unless the hook is toplevel_page_jalpi-page-builder-editor and the current user can edit_post the requested post_id. When it proceeds it:

  1. Empties the WordPress admin footer text so the editor can go full-screen.
  2. Calls wp_enqueue_media() so wp.media() is available for the image pickers.
  3. Reads build/index.asset.php for the dependency list.
  4. Enqueues jalpi-editor script and style, versioned by filemtime() of build/index.js so the browser cache busts on every rebuild.
  5. Adds the full-screen CSS via wp_add_inline_style().
  6. Localizes the jalpiEditorConfig global.

If you rebuild the bundle and do not see your changes, the mtime-based version means a hard refresh is rarely needed β€” but a page cache or CDN in front of wp-admin can still serve a stale file.

Packaging for Distribution#

bin/build-zip.js produces a WordPress-ready zip. It requires Node.js 16 or later and no extra npm packages β€” it uses Node built-ins plus the platform's native zip tool (Compress-Archive via PowerShell on Windows, zip on Unix and macOS).

# from admin/editor/
npm run package

# or from the plugin root
node bin/build-zip.js

Output: dist/jalpi-page-builder.zip, reported with its size on completion.

The script copies the plugin to a temp directory applying the exclusion list that mirrors .distignore, then zips it. Excluded from the package:

  • Editor build inputs β€” admin/editor/node_modules, src, package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, build.js, webpack.config.js, vite.config.js, tsconfig.json, jsconfig.json
  • Source control β€” .git, .gitignore, .gitattributes, .github
  • tests/, coverage/, phpcs.xml, phpcs.xml.dist
  • Packaging tooling β€” bin/, dist/
  • Development notes β€” BUILD.md, main-concept.txt, woo.txt, performance.txt, plugin-checklist-audit.txt
  • Old zips, .vscode, .idea, .claude, and any .map file

Build the editor before packaging. The packager copies whatever is currently in admin/editor/build/ and excludes the sources, so a stale bundle ships silently.

Updating#

WordPress does not re-run the activation hook when plugin files are updated, so Jalpi handles upgrade steps separately. jalpi_init() calls Jalpi_Activator::maybe_upgrade() on every request. It:

  1. Runs backfill_menu_kits(), a one-time step self-gated on the jalpi_menu_kits_backfilled option that tags pre-existing starter-kit menus with the _jalpi_kit term meta.
  2. Returns immediately if get_option( 'jalpi_version' ) already equals JALPI_VERSION β€” making every call after the first a cheap no-op.
  3. Otherwise re-seeds the Design System and writes the new jalpi_version.

This is the correct place for any one-time migration that must also reach sites which updated files without deactivating and reactivating.

Schema changes are guarded independently: Jalpi_Revisions::maybe_create_table() compares jalpi_revisions_db_version against its DB_VERSION constant and recreates the table when they differ.

Deactivating and Uninstalling#

Deactivation keeps everything. Jalpi_Activator::deactivate() is intentionally empty β€” its only body is the comment "Intentionally keep data on deactivation." Because publishing writes rendered HTML into post_content, pages continue to display as static HTML while the plugin is off.

Deletion runs uninstall.php, which aborts unless WP_UNINSTALL_PLUGIN is defined. On multisite it iterates every site with switch_to_blog() and runs the same cleanup per site. For each site it:

  1. Drops {prefix}jalpi_pages and {prefix}jalpi_revisions.
  2. Deletes the options jalpi_version, jalpi_enabled_post_types, jalpi_revisions_db_version, jalpi_settings_general, jalpi_settings_layout, jalpi_settings_design, jalpi_settings_performance, jalpi_settings_breakpoints and _jalpi_orphan_cleanup_v1.
  3. Deletes every row of the post meta keys _jalpi_has_canvas_data, _jalpi_render_error, _jalpi_history, _jalpi_tpl_type, _jalpi_tpl_category, _jalpi_tpl_thumbnail, _jalpi_tpl_location, _jalpi_tpl_status, _jalpi_tpl_priority, _jalpi_tpl_conditions, _jalpi_is_bundled and _jalpi_bundled_slug.
  4. Force-deletes every post of the custom post types jalpi_template and jalpi_theme_tpl.
  5. Deletes the plugin's transients: jalpi_render_, jalpi_google_fonts_ and jalpi_editor_tpl_list, along with their _transient_timeout_ counterparts.

Regular posts and pages are never deleted. Their post_content retains the last published render.

Examples#

Setting up a development build#

Clone or copy the full source tree into wp-content/plugins/, then build the editor. Watch mode rebuilds the bundle, the asset manifest and the RTL stylesheet on every save.

cd wp-content/plugins/jalpi-page-builder/admin/editor

npm install

# one-off production build
npm run build

# development watch build
npm run start

# type-check without emitting
npm run lint

Producing a distribution zip#

Always build the editor first β€” the packager excludes admin/editor/src and ships whatever is already in admin/editor/build.

cd admin/editor
npm run build
npm run package

# output: dist/jalpi-page-builder.zip

Activation and multisite wiring#

From jalpi-page-builder.php. Deactivation deliberately has no cleanup; new multisite blogs get their own tables.

register_activation_hook( JALPI_FILE, [ 'Jalpi_Activator', 'activate' ] );
register_deactivation_hook( JALPI_FILE, [ 'Jalpi_Activator', 'deactivate' ] );

// Multisite: create tables when a new blog is created
add_action( 'wp_initialize_site', function( $new_site ) {
    switch_to_blog( $new_site->blog_id );
    Jalpi_Activator::activate();
    restore_current_blog();
} );

Opening the editor programmatically#

The URL shape used by the meta box, the row action and the admin bar node, from Jalpi_Post_Support::editor_url().

$url = admin_url( 'admin.php?page=jalpi-page-builder-editor&post_id=' . intval( $post_id ) );

The jalpiEditorConfig global#

Localized onto the editor script by Jalpi_Editor::enqueue_editor(). Useful when debugging an installation β€” if the editor mounts blank, check that this object exists and carries a valid apiUrl and nonce.

window.jalpiEditorConfig = {
  hasWoo:                 false,
  postId:                 42,
  apiUrl:                 'https://example.com/wp-json/jalpi-page-builder/v1',
  nonce:                  '…',            // wp_rest
  adminUrl:               'https://example.com/wp-admin/',
  homeUrl:                'https://example.com',
  previewUrl:             '…',
  uploadUrl:              'https://example.com/wp-admin/upload.php',
  assetsUrl:              '…/plugins/jalpi-page-builder/assets/',
  pluginUrl:              '…/plugins/jalpi-page-builder/',
  version:                '1.0.5',
  colors:                 [ /* theme colors */ ],
  fonts:                  [ /* font options */ ],
  designSystem:           { /* tokens */ },
  canManageDesignSystem:  true,
  canUnfilteredHtml:      true,
  templateList:           [ /* saved templates */ ],
  previewNonce:           '…',
  ajaxUrl:                'https://example.com/wp-admin/admin-ajax.php',
};

Admitting an internal post type to the editor#

Post types enabled in Settings go through the jalpi_enabled_post_types option. Internal types that should not appear in that UI are admitted with this filter, which both Jalpi_Editor and Jalpi_API consult.

add_filter( 'jalpi_internal_editor_post_types', function ( array $types ) {
    $types[] = 'my_internal_type';
    return $types;
} );

Notes#

  • The plugin is published in the WordPress Plugin Directory at https://wordpress.org/plugins/jalpi-page-builder/. The listing reports the same version (1.0.5), WordPress requirement (6.0 or higher) and PHP requirement (8.0 or higher) as the plugin header. Its "Tested up to" shows the specific WordPress release (7.1.4) where readme.txt records the branch (7.1).
  • Installing from the Plugin Directory is what enables update notifications in wp-admin. A manually uploaded copy or a self-built zip receives none, so a development install has to be updated by hand.
  • Re-activating the plugin is a safe repair step. Every table is created with CREATE TABLE IF NOT EXISTS and every option with add_option(), so activation never overwrites existing data β€” this is exactly what the Support diagnostic suggests when the builder table is missing.
  • The Settings submenu is registered with the read capability so it is visible, but the screen itself requires manage_options. Non-administrators who follow the link see an "Administrator access required" message rather than a WordPress permission error.
  • The Support Center's PHP check tests against 7.4, while the plugin header requires PHP 8.0. A site on PHP 7.4 would therefore pass the in-plugin diagnostic but be blocked from activating by WordPress itself.
  • Jalpi_Settings registers a template_redirect handler that catches wp-admin/jalpi-page-builder-settings β€” a URL shape produced by Local by Flywheel's router β€” and redirects it to the correct admin.php?page=… address.
  • A legacy webpack.config.js is still present in admin/editor/, but the npm scripts invoke build.js (esbuild). The packager excludes both, so it does not affect distribution builds.
  • The distributed zip contains only the compiled editor. To modify the editor you need the full source tree β€” installing from dist/jalpi-page-builder.zip gives you admin/editor/build/ with no src/ to rebuild from.

Warnings#

  • uninstall.php drops {prefix}jalpi_pages and {prefix}jalpi_revisions but does not drop {prefix}jalpi_classes. Global classes created with the class manager survive plugin deletion and must be removed manually if a full cleanup is required.
  • The uninstall option list also omits jalpi_settings_design_system, jalpi_classes_version, jalpi_classes_table_ready and jalpi_menu_kits_backfilled. These remain in the options table after deletion.
  • Deleting the plugin force-deletes every jalpi_template and jalpi_theme_tpl post β€” your saved template library and all theme-builder templates β€” bypassing the trash. Export anything you want to keep before deleting.
  • Activation is per-site on multisite. Network activation does not retroactively create tables for blogs that already exist; only sites created afterwards are covered by the wp_initialize_site hook.
  • Run npm run build before npm run package. The packager excludes admin/editor/src and copies the existing build/ directory as-is, so an out-of-date bundle ships without any warning.
  • Never edit admin/editor/build/index.js directly. It is a generated artefact and the next build overwrites it β€” and its index.asset.php version is an md5 of the file, so hand edits also change the cache-busting version in a way that is easy to misread as a successful rebuild.

Source Files#

  • jalpi-page-builder.php
  • readme.txt
  • uninstall.php
  • includes/class-jalpi-activator.php
  • includes/class-jalpi-settings.php
  • includes/class-jalpi-editor.php
  • includes/class-jalpi-post-support.php
  • includes/class-jalpi-revisions.php
  • includes/class-jalpi-theme-builder.php
  • includes/class-jalpi-templates.php
  • includes/support/class-jalpi-support-center.php
  • admin/editor/package.json
  • admin/editor/build.js
  • bin/build-zip.js