Title: Control per Page
Author: WeDevlops
Published: <strong>2025 年 2 月 19 日</strong>
Last modified: 2025 年 2 月 20 日

---

搜索插件

![](https://ps.w.org/control-per-page/assets/banner-772x250.png?rev=3242925)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/control-per-page_ffffff.svg)

# Control per Page

 作者：[WeDevlops](https://profiles.wordpress.org/wedevlops/)

[下载](https://downloads.wordpress.org/plugin/control-per-page.1.0.0.zip)

 * [详情](https://cn.wordpress.org/plugins/control-per-page/#description)
 * [评价](https://cn.wordpress.org/plugins/control-per-page/#reviews)
 * [开发进展](https://cn.wordpress.org/plugins/control-per-page/#developers)

 [支持](https://wordpress.org/support/plugin/control-per-page/)

## 描述

**Function Overview:**

This type of WordPress plugin provides the capability to manage which plugins and
their JavaScript files are active on specific pages of your website. This granular
level of control helps you ensure that only the necessary resources are loaded for
each page, enhancing overall site performance and functionality.

**Page Detection:**

The plugin first identifies the current page being loaded. This can be determined
using various methods such as checking the page URL, page ID, or specific page attributes.

**Configuration Interface:**

The plugin typically includes a user-friendly configuration interface within the
WordPress admin dashboard. This interface allows administrators to select the plugins
and JavaScript files that should be enabled or disabled on a per-page basis.

**Mapping and Rules:**

Administrators create a mapping of pages to plugins and JavaScript files. This mapping
defines which plugins and scripts should be active or inactive on each page. The
rules can be based on various criteria such as page type (e.g., post, page, custom
post type), URL patterns, user roles, and more.

**Conditional Loading:**

Based on the defined mapping and rules, the plugin dynamically enables or disables
the specified plugins and JavaScript files. This can be achieved using WordPress
functions like wp_enqueue_script, wp_dequeue_script, activate_plugin, and deactivate_plugins.

**Execution:**

When a page is loaded, the plugin checks the mapping and then loads or unloads the
specified plugins and JavaScript files accordingly. This process ensures that only
the necessary resources are loaded, reducing the page load time and improving performance.

**Benefits of Performance Optimization:**

By only loading necessary plugins and JavaScript files, you can reduce the amount
of data that needs to be transferred and processed, leading to faster page load 
times.

**Security:**

Disabling unnecessary plugins and scripts on pages where they are not needed reduces
the potential attack surface of your website, enhancing

**For PRO version:**

 * For unlimited Pages you can control visit us at [WordPress Pro Versions](https://wedevlops.com/developers-shop/category/65-wordpress.html)

**Check our YouTube demo:**

[https://www.youtube.com/watch?v=9ZYM809DfcM](https://www.youtube.com/watch?v=9ZYM809DfcM)

 

 

## 屏幕截图

 * [[

## 评价

![](https://secure.gravatar.com/avatar/bf6c1ea37956730ed39a7d387b613d9ce9fd31e4e9f30e9874490d43a4070c68?
s=60&d=retro&r=g)

### 󠀁[Very nice to control the page!](https://wordpress.org/support/topic/very-nice-to-control-the-page/)󠁿

 [zenaemp19](https://profiles.wordpress.org/zenaemp19/) 2025 年 7 月 14 日

I was looking for this kind of feature and I am happy i have found this by research
here at plugin. I was watching also how this works in Youtube and this is what i
was looking for. I manage to control the output using this plugin which is very 
functional and effective way. very easy to use. straight forward!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/control-per-page/reviews/)

## 贡献者及开发者

「Control per Page」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ WeDevlops ](https://profiles.wordpress.org/wedevlops/)

[帮助将「Control per Page」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/control-per-page)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/control-per-page/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/control-per-page/)，或通过[RSS](https://plugins.trac.wordpress.org/log/control-per-page/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/control-per-page/)。

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**1 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.3.0 或更高版本 **
 *  已测试的最高版本为 **6.7.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/control-per-page/)
 * 标签
 * [6.3](https://cn.wordpress.org/plugins/tags/6-3/)[6.6](https://cn.wordpress.org/plugins/tags/6-6/)
 *  [高级视图](https://cn.wordpress.org/plugins/control-per-page/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/control-per-page/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/control-per-page/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/control-per-page/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/control-per-page/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/control-per-page/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/control-per-page/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/control-per-page/reviews/)

## 贡献者

 *   [ WeDevlops ](https://profiles.wordpress.org/wedevlops/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/control-per-page/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://paypal.me/wedevlops?country.x=PH&locale.x=en_US)