Custom Post Type UI

外掛說明

Custom Post Type UI 提供了易於使用、可用於註冊及管理網站的自訂內容類型及分類法的界面。

Custom Post Type UI Extended

CPTUI helps create custom content types, but displaying that content can be a whole new challenge. We created Custom Post Type UI Extended to help with displaying your crafted content. View our Layouts page to see available layout examples with Custom Post Type UI Extended.

Beginning with version 1.7.0, Custom Post Type UI Extended has properly moved in to the Block editor experience and is working to get all the layouts available in the new “Custom Post Type UI Block”. It’s now even easier to start showing your content with the existing and future layouts available with Custom Post Type UI Extended.

Pluginize was launched in 2016 by WebDevStudios to promote, support, and house all of their WordPress products. Pluginize is not only creating new products for WordPress, like CPTUI Extended, but also provides ongoing support and development for WordPress community favorites like CMB2 and more.

Plugin development

Custom Post Type UI development is managed on GitHub, with official releases published on WordPress.org. The GitHub repo can be found at https://github.com/WebDevStudios/custom-post-type-ui. Please use the WordPress.org support tab for potential bugs, issues, or enhancement ideas.

螢幕擷圖

  • Add new post type screen and tab.
  • Add new taxonomy screen and tab.
  • Registered post types and taxonomies from CPTUI
  • Tools screen.
  • [線上說明/技術支援] 頁面

安裝方式

在管理後台透過搜尋方式進行安裝

  1. 前往 [安裝外掛] 頁面,並以 custom post type ui 為關鍵自進行搜尋。
  2. 點擊 Custom Post Type UI 外掛的 [立即安裝] 按鈕。
  3. 啟用外掛。
  4. 前往 [CPT UI] 選單。

在管理後台透過外掛壓縮檔進行安裝

  1. 前往 [安裝外掛] 頁面並點擊 [上傳外掛] 按鈕。
  2. 點擊 [選擇檔案] 按鈕,並從本機選取外掛 ZIP 檔案。
  3. 點擊 [立即安裝] 按鈕。
  4. 上傳完畢後,請啟用 Custom Post Type UI 外掛。

手動安裝

  1. 將 Custom Post Type UI 外掛壓縮檔解壓縮所得的資料夾上傳至 WordPress 網站的 wp-content/plugins 目錄中。
  2. 啟用外掛。
  3. 前往 [CPT UI] 選單。

這樣便安裝完成了。接下來網站管理員就可以在 WordPress 網站中,輕鬆建立自訂文章類型及分類法。

常見問題集

使用者說明文件

Please see https://docs.pluginize.com/tutorials/custom-post-type-ui/

使用者評論

2022 年 6 月 4 日
More than one million active installations but the support is really good. I thought I used to see the author's blog long time ago. At that time he posted about Buddypress notification.
2022 年 3 月 22 日
This plugin is really useful as it makes creating custom posts way more simpler than coding your own functions in php. It also means that the custom posts are independant of themes so you can change theme without losing the post. And you can easily edit setting on your custom post any time. It has all the options + custom taxonies to create whatever type of post you need. Works with gutenberg editor, can easily change icons and can export posts if you need to move them. On top of that, the support is amazing. I found a bug with the export option and it was fixed the next day with a detailed explaination of the problem. Couldn't ask for more! This has made my life so much easier, I recommend to any developers who want to work with custom posts.
2022 年 3 月 18 日 1 reply
Works well, but it's missing a number of CPT options: rest_namespace, capabilities, map_meta_cap, register_meta_box_cb, rewrite[feeds, pages, ep_mask], template, and template_lock. I realize these are not common, but it's a drag when you go to create your third CPT and realize you need to find a different solution that will accommodate one of the missing options. It's no good to have a few registered in CPTUI and a few by hand.
閱讀全部 251 則使用者評論

參與者及開發者

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

參與者

〈Custom Post Type UI〉外掛目前已有 16 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Custom Post Type UI〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.13.2 – 2022-11-29

  • Fixed: Removed forcing of underscores in place of dashes for taxonomy slugs. Yay!
  • Updated: tested up to WP 6.1.1
  • Updated: Documentation links in wordpress.org FAQ section.

1.13.1 – 2022-09-08

  • Fixed: Various issues caused by a misplaced output for ob_get_clean() outside of function.

1.13.0 – 2022-09-07

  • Added: Notes regarding featured image and post format support also needing add_theme_support to work.
  • Fixed: Issues around double quotes and JSON export with the post type description field
  • Fixed: Issues around HTML markup being removed from post type description field stemming from 1.10.x release
  • Fixed: Pluralization issue with our UI for some field labels
  • Updated: Code separation and quality cleanup.
  • Updated: Plugin branding.

1.12.1 – 2022-05-16

  • Fixed: JSON decoding issues around WP-CLI import.

1.12.0 – 2022-05-09

  • Added: Tested on WordPress 6.0.
  • Added: Auto-check, but not force, “page-attributes” when setting a post type as hierarchical.
  • Added: “rest_namespace” parameters for both post types and taxonomies.
  • Added: “register_meta_box_cb” parameter for post types.
  • Fixed: undefined index notices for “can_export”.
  • Updated: list of reserved taxonomy names with more that are considered reserved.
  • Updated: readme descriptions and screenshots.

1.11.2 – 2022-03-21

  • Fixed: Unintended reuse of $delete_with_user variable and can_export option. Props @bogutskyy
  • Fixed: PHP notices around sort array index.

1.11.1 – 2022-03-18

  • Fixed: Errors and warnings around array_key_exists() and bool values

1.11.0 – 2022-03-17

  • Added: “sort” argument for taxonomies.
  • Added: “can export” argument for post types
  • Added: New taxonomy labels from WordPress 5.9
  • Added: Custom option to set “Enter title here” value for post types.
  • Added: Notes around “exclude from search” argument for post types and taxonomy term archives.
  • Added: Notes around taxonomy “hierarchical” option regarding category vs tag behavior.
  • Updated: Reserved post type slugs from recent WordPress releases.
  • Fixed: PHP warnings around foreach loops in cptui_published_post_format_fix()