承接 itinerisltd/kirki-disable-pagebuilder 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

itinerisltd/kirki-disable-pagebuilder

Composer 安装命令:

composer require itinerisltd/kirki-disable-pagebuilder

包简介

Disables Kirki v6 page builder features, keeping only the Customizer field framework

README 文档

README

Packagist Version PHP from Packagist Packagist Downloads GitHub License Hire Itineris Twitter Follow @itineris_ltd

Why

Kirki v6 introduced a full no-code page builder (formerly Droip) on top of the existing Kirki v5 Customizer field framework. If you use only the Customizer fields and want nothing to do with the page builder, install this mu-plugin. It removes the page builder entirely — install to disable, remove the package to re-enable.

What it disables

Admin UI

Feature How
"Design with Kirki" button in the Gutenberg editor toolbar Dequeues the custom_link script on admin_enqueue_scripts
"Kirki" top-level admin menu (Canvas, Submissions, Role Managers, Settings) Removes the kirki menu page on admin_menu
"Edit with Kirki" in the WordPress admin bar Removes the edit_with_kirki node on admin_bar_menu
"Edit with Kirki" in post and page list row actions Unsets the edit_with_kirki key from post_row_actions / page_row_actions
"Kirki Full Canvas" in the page template dropdown Filters it out of theme_page_templates

Frontend and global hooks

These are removed on plugins_loaded priority 20, after Kirki registers its own hooks at priority 10.

Class Hooks removed Why
Kirki\ContentManager parse_request, init Runs DB queries on every request to find Kirki content manager posts and register dynamic CPTs
Kirki\Manager\PluginInitEvents document_title_parts Runs a DB query on every page to look up Kirki SEO settings
Kirki\Frontend\TheFrontend wp, wp_head, the_content (PHP_INT_MAX), wp_footer replace_content() applies html_entity_decode() to all page content regardless of whether Kirki built it — corrupting HTML attribute escaping (e.g. shortcode attributes). Also runs DB queries on every page.
Kirki\Frontend\TheFrontendHooks wp_enqueue_scripts, wp_body_open, wp_footer, template_redirect Injects window.wp_kirki (nonce, AJAX URL, REST URL, site URL, post ID) as an inline script into every page footer. Starts ob_start() with a regex callback on every page. Runs DB queries on every page.
Kirki\Manager\TemplateRedirection template_include, login/register redirects, post_link, query_vars Hijacks template loading at PHP_INT_MAX and overrides WordPress login/register/lost-password page routing

Miscellaneous

Setting How
big_image_size_threshold set to false by Kirki Restored to WordPress default (2560 px) by calling remove_filter('big_image_size_threshold', '__return_false')

What it preserves

The Kirki v5 Customizer field framework (Kirki\Customizer and everything under customizer/) is loaded independently in KirkiBase::__construct() and is not touched by this plugin. Any Kirki Customizer fields registered in your theme or plugins will continue to work normally.

The following Kirki v6 components are also left in place as they have no impact on regular page loads:

  • Kirki\Ajax — admin AJAX handlers (wp_ajax_kirki_*), only fire on explicit AJAX requests
  • Kirki\API — REST API routes, only registered on rest_api_init
  • Kirki\ElementVisibilityConditions — only hooks onto Kirki-specific filters, never fires on non-Kirki pages
  • Kirki\Manager\PluginShortcode — shortcodes are inert unless explicitly placed in content

Minimum Requirements

  • PHP v8.1
  • WordPress v6.2

Installation

composer require itinerisltd/kirki-disable-pagebuilder

Credits

kirki-disable-pagebuilder is a Itineris Limited project created by Lee Hanbury-Pickett.

Full list of contributors can be found here.

License

kirki-disable-pagebuilder is released under the MIT License.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固