Title: PixTypes
Author: pixelgrade
Published: <strong>2015 年 3 月 19 日</strong>
Last modified: 2026 年 5 月 17 日

---

搜尋外掛

![](https://ps.w.org/pixtypes/assets/banner-772x250.png?rev=3469398)

![](https://ps.w.org/pixtypes/assets/icon.svg?rev=3469398)

# PixTypes

 由 [pixelgrade](https://profiles.wordpress.org/pixelgrade/) 開發

[下載](https://downloads.wordpress.org/plugin/pixtypes.2.0.1.zip)

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

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

## 外掛說明

With [PixTypes](https://github.com/pixelgrade/pixtypes) you can allow your theme
to define what custom post types or meta-boxes should be active when your theme 
is up

Note: This plugin is addressed to developers, it doesn’t do nothing if it isn’t 
[properly configured](https://github.com/pixelgrade/pixtypes#pixytpes_config).

## 安裝方式

 1. First you will need to configure your theme to [define PixTypes settings](https://github.com/pixelgrade/pixtypes#pixytpes_config)
 2. Install PixTypes either via the WordPress.org plugin directory, or by uploading
    the files to your `/wp-content/plugins/` directory
 3. After activating PixTypes all your custom post-types should be visible now.

## 使用者評論

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

### 󠀁[Portfolio feature ruined my site](https://wordpress.org/support/topic/portfolio-feature-ruined-my-site/)󠁿

 [marzren](https://profiles.wordpress.org/marzren/) 2020 年 8 月 5 日

I have an existing portfolio with Jetpack and for some reason this plug-in is just
not making my site work properly. I’ve tries almost all solutions but no to avail
since a “required” but unhelpful plug-in

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

### 󠀁[Broke my site](https://wordpress.org/support/topic/broke-my-site-121/)󠁿

 [bjshrestha](https://profiles.wordpress.org/bjshrestha/) 2017 年 1 月 18 日 5 則
留言

I recently updated wordpress to version 4.7.1. My theme required this theme as “
Required” plugins. but as soon as I install this my site crashes with Fatal error.
can you please update so that it will be compatible with newer version of wordpress

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

## 參與者及開發者

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

參與者

 *   [ pixelgrade ](https://profiles.wordpress.org/pixelgrade/)
 *   [ George Olaru ](https://profiles.wordpress.org/babbardel/)
 *   [ vlad.olaru ](https://profiles.wordpress.org/vladolaru/)
 *   [ Razvan Onofrei ](https://profiles.wordpress.org/razvanonofrei/)

[將〈PixTypes〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/pixtypes)

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

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

## 變更記錄

#### 2.0.1

 * Compatibility: Confirmed compatibility with WordPress 7.0.
 * Compatibility: Hardened entity registration for invalid or unprefixed theme config
   keys.
 * Compatibility: Updated metabox taxonomy term queries to the modern WordPress 
   API format.
 * Security: Improved request input handling in metabox save and AJAX flows.

#### 2.0.0

 * Security: Fixed Stored XSS vulnerability in HTML attribute rendering (HTMLTag
   class).
 * Security: Fixed Reflected XSS via field_id parameter in oEmbed handler.
 * Security: Fixed XSS via cmb_send_label using proper JS escaping (wp_json_encode).
 * Security: Added nonce verification and capability checks to gallery AJAX preview
   handler.
 * Security: Added nonce verification and capability checks to playlist AJAX preview
   handler.
 * Security: Added capability check (manage_options) to theme settings cleanup AJAX
   handler.
 * Security: Removed URL-controllable debug mode; now tied to WP_DEBUG constant.
 * Security: Added output escaping throughout admin views and form templates.
 * Security: Restricted POST input processing to expected fields only.
 * Security: Sanitized all $_GET/$_POST/$_REQUEST superglobal usage with appropriate
   functions.
 * Security: Updated nonce action strings to use specific identifiers.
 * Improvement: Prefixed all global functions with pixtypes_ to prevent namespace
   collisions.
 * Improvement: Removed deprecated &$this reference patterns for PHP 8 compatibility.
 * Improvement: Updated minimum requirements to WordPress 6.0 and PHP 7.4.
 * Improvement: Replaced EXT constant with PIXTYPES_EXT to avoid conflicts.

#### 1.4.16

 * XSS Security fix.

#### 1.4.15

 * CSRF Security fix.

#### 1.4.14

 * Improve compatibility with WordPress 5.7.

#### 1.4.13

 * Fixed a bug where, on some themes, metaboxes would still not appear when Gutenberg
   editor was active.

#### 1.4.12

 * Fixed a bug where metaboxes wouldn’t appear when Gutenberg editor was active.
 * Code optimization.

#### 1.4.11

 * We did several compatibility checks with the latest WordPress releases, so that
   everything will be working as smoothly as always.

#### 1.4.10

 * Fixed a bug related to not being able to empty file/image fields.

#### 1.4.9

 * Workflow to configure metaboxes dynamically rather than through the database.

#### 1.4.8

 * Cleanup and refactoring.
 * Allow for field validation functions independent of CMB.

#### 1.4.7

 * Small improvements to the metabox system.
 * Fixed Color Picker style.

#### 1.4.6

 * Fixed HTTPS WP admin issue with regards to assets.

#### 1.4.5

 * Added advanced show_on behaviour and filtering.

#### 1.4.4

 * Added a new image field type

#### 1.4.3

 * Fixed Builder on PHP 5.2
 * Fixed Builder text block.Now it doesn’t lose new lines on editor switch
 * Fixed ColorPicker style in normal context
 * Improved assets loading. Now we won’t load styles on non-PixTypes pages.

#### 1.4.2

 * Fixed Builder visuals
 * Safely sanitize builder output

#### 1.4.1

 * Fixed pix_builder on old configs.
 * Fixed an issue with WPJM Extended Location
 * Fixed new block ids in pix_builder

#### 1.4.0

 * Improved all the fields Visuals and styles.
 * Improved the pix_builder field, now will save values in the content instead of
   its own meta.And the editor is better now.
 * Added a positioning UI for the builder blocks.
 * Fixed the defaults for the textarea fields.
 * Fixed the defaults for colorpicker.
 * Fixed small PHP warnings and notices.

#### 1.3.5

Improved the multicheck field

#### 1.3.3

 * Added a Playlist field
 * Improved translation strings
 * Fixed Galleries Icons and Style
 * Quit .mo/.po files for a general .pot one

#### 1.3.2

 * WordPress 4.3 compatibility
 * Fixed Sticky buttons for the PixBuilder field

#### 1.3.1

 * Allow portfolio to be a jetpack compatible type
 * Small fixes to the gallery field

#### 1.2.10

 * Show / Hide options bug fix

#### 1.2.9

 * Gmap pins added

#### 1.2.6

 * Builder field added
 * Support for wp 4.0
 * Small fixes

#### 1.2.2

 * Small fixes to metaboxes

#### 1.2.1

 * Github Updater slug fix
 * And small fixes…

#### 1.2.0

 * Ajax Update
 * Gallery Metabox works now even if there is no wp-editor on page
 * And small fixes…

#### 1.1.0

 * Add admin panel
 * Fixes

#### 1.0.0

 * Here we go

## 中繼資料

 *  版本 **2.0.1**
 *  最後更新 **1 週前**
 *  啟用安裝數 **9,000+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/pixtypes/)
 * 標籤:
 * [builder](https://tw.wordpress.org/plugins/tags/builder/)[custom](https://tw.wordpress.org/plugins/tags/custom/)
   [gallery](https://tw.wordpress.org/plugins/tags/gallery/)[metadata](https://tw.wordpress.org/plugins/tags/metadata/)
   [post types](https://tw.wordpress.org/plugins/tags/post-types/)
 *  [進階檢視](https://tw.wordpress.org/plugins/pixtypes/advanced/)

## 評分

 2 星，滿分為 5 星

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

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

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

## 參與者

 *   [ pixelgrade ](https://profiles.wordpress.org/pixelgrade/)
 *   [ George Olaru ](https://profiles.wordpress.org/babbardel/)
 *   [ vlad.olaru ](https://profiles.wordpress.org/vladolaru/)
 *   [ Razvan Onofrei ](https://profiles.wordpress.org/razvanonofrei/)

## 技術支援

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

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