Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Portfolio Post Type

Mô tả

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.

Cài đặt

Just install and activate.

Hỏi đáp

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

Đánh giá

18 Tháng Một, 2019
This is an ideal simple plugin if you want to display a portfolio. Very useful. Thanks...
3 Tháng Chín, 2016
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!
Đọc tất cả 15 đánh giá

Người đóng góp & Lập trình viên

“Portfolio Post Type” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Portfolio Post Type” đã được dịch qua 13 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Portfolio Post Type” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

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