Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/dazza-dev/sw-portfolio/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Custom Post Type for Portfolio projects with taxonomies, custom fields, gallery, and optional WPGraphQL support.
Description
Adds a Portfolio Custom Post Type with:
- 6 taxonomies: Category, Client, Sector, Location, Tech Stack, Services (all support multiple selection)
- Client taxonomy with image/logo field
- Custom fields: objective, client testimonial, project URL
- Project screenshot gallery with sortable images
- Custom admin columns with thumbnail preview
- REST API support (built-in)
- WPGraphQL support (optional)
Frequently Asked Questions
Do I need WPGraphQL?
No. The plugin works with WordPress REST API by default. WPGraphQL support is optional and activates automatically when the WPGraphQL plugin is detected.
How do I access portfolio projects via API?
REST API: /wp-json/wp/v2/portfolio
GraphQL: swPortfolios query (requires WPGraphQL plugin)
How do I add a client image?
Go to Portfolio > Clients, add or edit a client, and use the "Upload Image" button to assign an image/logo.
Changelog
1.0.0
- Initial release