Title: Simple Plugin Selector
Author: Peter Lawrenson
Published: <strong>2020 年 9 月 10 日</strong>
Last modified: 2024 年 12 月 18 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/simple-plugin-selector/assets/icon-256x256.png?rev=2379101)

# Simple Plugin Selector

 由 [Peter Lawrenson](https://profiles.wordpress.org/lorro/) 開發

[下載](https://downloads.wordpress.org/plugin/simple-plugin-selector.2.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/simple-plugin-selector/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/simple-plugin-selector/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/simple-plugin-selector/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/simple-plugin-selector/#developers)

 [技術支援](https://wordpress.org/support/plugin/simple-plugin-selector/)

## 外掛說明

By default, WordPress will load every plugin on every page. The Simple Plugin Selector(
SPS) plugin allows the administrator to select which plugins are used on a page-
by-page basis. This prevents unneeded plugins and plugin support files from loading.
HTTP requests and download size will be reduced, so improving website performance
for the visitor.

For example, you probably use your contact form plugin only on your Contact Us page.
SPS allows you to deactivate it when the page request is for one of your other pages,
so your users don’t download your contact form style sheets and scripts unnecessarily.

The plugin has a user-friendly interface, so the administrator can see easily which
plugins are running on each page.

Plugin filtering is disabled in admin context.

Not for newbies! The administrator must have a clear grasp of which plugins are 
required for each page, otherwise some pages will have errors because a required
plugin is not loaded.

### Deactivating

Deactivating SPS in the normal plugins list will deactivate plugin filtering and
remove the SPS file from the mu-plugins directory.

Removing the SPS plugin using FTP will leave an unwanted SPS file in mu-plugins,
but plugin filtering will be disabled.

SPS settings are not deleted by plugin deactivation or deletion. Reactivating should
pickup filtering where it left off.

### Settings

Go to Dashboard > Settings > Simple Plugin Selector to set which plugins are required
on a page by page basis. If the site has cache or optimize plugins, they should 
be cleared after changing any SPS settings.

If a new page, post or product is created, all plugins will be activated for that
by default until set otherwise in SPS settings.

If a new plugin is activated, it will be loaded for all pages by default until set
otherwise in SPS settings.

## 螢幕擷圖

[⌊Settings - Set the number of items per settings tab⌉⌊Settings - Set the number
of items per settings tab⌉[

Settings – Set the number of items per settings tab

[⌊Settings - Set plugin type: Always / Never / Sometimes⌉⌊Settings - Set plugin 
type: Always / Never / Sometimes⌉[

Settings – Set plugin type: Always / Never / Sometimes

[⌊Settings - Set plugin loading per page for "Sometimes" plugins⌉⌊Settings - Set
plugin loading per page for "Sometimes" plugins⌉[

Settings – Set plugin loading per page for “Sometimes” plugins

[⌊Settings - Set plugin loading per post for "Sometimes" plugins⌉⌊Settings - Set
plugin loading per post for "Sometimes" plugins⌉[

Settings – Set plugin loading per post for “Sometimes” plugins

## 安裝方式

Load and activate the plugin in the normal way at Dashboard > Plugins > Add New

Once activated, the plugin will copy its plugin filter file to the /wp-content/mu-
plugins directory. Code in mu-plugins runs before normal plugins are loaded. That’s
why the plugin filter file must be run from there.

## 常見問題集

### How much faster will my site run?

The degree of improvement will vary between sites. Users with slow connections are
likely to see a big improvement. Mobile users in particular should see quicker load
times.

### A page doesn’t work properly or look as it should?

Check the plugin settings for that page. Maybe a required plugin has not been enabled.
If the page still doesn’t work, enable all plugins for that page.

### The theme customizer is not working properly

The page inside the customizer is working in front-side context. If there is a plugin
which is set to not load on the front-side page, then it won’t be available to the
admin-side customizer either. In case of issues, temporarily deactivate SPS at Dashboard
> Plugins > Installed Plugins while using the customizer.

### Will it work with WooCommerce

Yes.

### Will it work with Polylang or with WPML (WordPress Multilingual Plugin)

Not tested with Polylang or the premium plugin WPML.

### Will it work on multi-site installations?

Not tested on multi-site installations.

### It works on some pages but not others

If you create a new page, post or product, SPS does not make assumptions about which
plugins are needed for it, so SPS will load all plugins. Run through the settings
screens to set plugins for any new pages, posts or products.

### It doesn’t work at all

SPS won’t work if permalinks are set to “Plain”

## 使用者評論

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

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-2470/)󠁿

 [mrguen](https://profiles.wordpress.org/mrguen/) 2020 年 11 月 4 日

I feared a little to use this new plugin. Was looking for a way to avoid downloading
useless resources on all my WordPresss / Woocommerce website pages and this plugin
does the job well.

 [ 閱讀全部 1 則使用者評論 ](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Simple Plugin Selector〉的開發相關工作。

參與者

 *   [ Peter Lawrenson ](https://profiles.wordpress.org/lorro/)

[將〈Simple Plugin Selector〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/simple-plugin-selector)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/simple-plugin-selector/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/simple-plugin-selector/)，或
透過 [RSS](https://plugins.trac.wordpress.org/log/simple-plugin-selector/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/simple-plugin-selector/)。

## 變更記錄

#### 2.0.0

 * Fixed a bug in settings. Users of previous versions will need to redo their settings.
 * Updated the code to meet WordPress security requirements
 * Tested with WP 6.7.1

#### 1.3.2

 * Tested with WP 6.5.2

#### 1.3.0

 * Now installs as a normal plugin. No FTP install needed.
 * Tested with WP 6.2.2

#### 1.2.0

 * Support for Tags, Product Tags and Product Attributes removed as too buggy.
 * Tested with WP 5.8

#### 1.1.1

 * Fixed minor bug that occurred infrequently.

#### 1.1.0

 * Added support for post, category and tag pages.
 * Added support for WooCommerce pages: products, product categories, product tags
   and product attributes.
 * Added “Copy settings” button on page settings tabs to make settings easier.
 * Added pagination of long page lists in settings.

#### 1.0.4

 * Amended to work on with Polylang sites where language codes are embedded in page
   urls.
    (This feature is no longer supported as it proved to be too buggy)

#### 1.0.3

 * Amendments to meet WordPress.org guidelines.

#### 1.0.2

 * Submitted to WordPress.org for review.

## 中繼資料

 *  版本 **2.0.0**
 *  最後更新 **1 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 6.2 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.7.5**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/simple-plugin-selector/)
 * 標籤:
 * [performance](https://tw.wordpress.org/plugins/tags/performance/)[plugins](https://tw.wordpress.org/plugins/tags/plugins/)
 *  [進階檢視](https://tw.wordpress.org/plugins/simple-plugin-selector/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  1 個 5 星使用者評論     ](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/simple-plugin-selector/reviews/)

## 參與者

 *   [ Peter Lawrenson ](https://profiles.wordpress.org/lorro/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/simple-plugin-selector/)