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

Portfolio Post Type

外掛說明

This plugin registers a custom post type for portfolio items. It also registers separate portfolio taxonomies for tags and categories. If featured images are selected, they will be displayed in the column view.

This plugin doesn’t change how portfolio items are displayed in your theme. You’ll need to add templates for archive-portfolio.php and single-portfolio.php if you want to customize the display of portfolio items.

安裝方式

Just install and activate.

常見問題集

How can I display portfolio items differently than regular posts?

You will need to get your hands dirty with a little code and create a archive-portfolio.php template (for displaying multiple items) and a single-portfolio.php (for displaying the single item).

Why did you make this?

To allow users of Portfolio Press to more easily migrate to a new theme. And hopefully, to save some work for other folks trying to set a portfolio.

Is this code on GitHub?

Of course: https://github.com/devinsays/portfolio-post-type

使用者評論

2019 年 1 月 18 日
This is an ideal simple plugin if you want to display a portfolio. Very useful. Thanks…
2016 年 9 月 3 日
I wanted a portfolio that was sortable into catgories, could display multiple images and was customizable. I tried a bunch of others and most were just awful. This one fits the bill perfectly. I am happy. Thanks!
閱讀全部 15 則使用者評論

參與者及開發者

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

參與者

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

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

對開發相關資訊感興趣?

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

變更記錄

1.0.1

  • Update: Show portfolio icon in dashboard glance. Removed by mistake in v1.0.0, props @chesio for bug report.
  • Update: Fix for PHP 7.4.9 notices

1.0.0

  • Update: WordPress 5.0 Editor Support (props @simube)
  • Update: Use filter rather than action for dashboard glance (props @chesio)

0.9.3

  • Fix notice in dashboard when used with PHP7
  • Fix notice on specific screens when $screen variable not available

0.9.2

  • Update post type messages for WordPress 4.4

0.9.1

  • Updated translation file
  • Fixes issue with thumbnail support in some themes

0.9.0

  • Remove legacy support for icons
  • Gamajo_Registerable interface and classes

0.8.2

  • Updated .pot file for translations
  • Portuguese translation by Pedro Mendonça

0.8.1

  • Fix for developer notices on admin pages

0.8.0

  • Fix for taxonomy body classes on portfolio posts

0.7.0

  • Code refactor by @garyj
  • Update icons for WordPress 3.8

0.6.2

  • Fix for portfolio post type search in the dashboard. Props @pdme.
  • Minor code improvement for taxonomy body class filter. Props @garyj.

0.6.1

  • Taxonomy body classes when is_single(), fixes debug notices

0.6

  • Added @garyj as a contributor (Welcome!)
  • Updated to proper coding standards
  • Updated inline documentation
  • New filters for taxonomy arguments
  • Added body classes for custom taxonomy terms
  • Refactored code to be more DRY
  • Added not_found label to portfolio tag taxonomy
  • Updated translations.pot

0.5

  • Use show_admin_column for taxonomies (https://make.wordpress.org/core/2012/12/11/wordpress-3-5-admin-columns-for-custom-taxonomies/) rather than a custom function
  • Add author field custom post type
  • Allows $args to be filtered (https://github.com/devinsays/portfolio-post-type/issues/8)

0.4

  • Update to use classes
  • Update supports to include custom fields and excerpts

0.3

  • Added category to column view
  • Added portfolio count to “right now” dashboard widget (props @nickhamze)
  • Added contextual help on portfolio edit screen (props @nickhamze)
  • Now flushes rewrite rules on plugin activation

0.2

  • Fixes for portfolio tag label
  • Fixes for column display of portfolio items

0.1

  • Initial release