Block-Based Portfolio
Block-Based Portfolio is a WordPress plugin that creates a portfolio CPT (and 3 portfolio taxonomies) and uses a block template to pre-populate new portfolio entries with Gutenberg blocks
by WP Fangirl · github.com/wpfangirl/block-portfolio · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wpfangirl/block-portfolio/archive/refs/heads/master.zipCreates a portfolio post type with 3 custom taxonomies and a Gutenberg block template for single portfolio entries.
Description
This plugin builds the single portfolio entry from core Gutenberg blocks, arranged in a template to make it easier to create a portfolio of project case studies. Includes two hierarchical taxonomies (project type and client type) and one flat taxonomy (project tag).
Block attributes are now set for heading levels, font sizes in paragraphs, and alignment of images.
Installation
- Upload
block-portfolio.zipvia the 'Plugins | Add New |Upload' in the WordPress admin, or unzip the file and upload theblock-portfoliofolder to the/wp-content/plugins/directory by FTP or SSH. - Activate the plugin through the 'Plugins' menu in WordPress
- There are no settings for this plugin. Your portfolio entries and portfolio taxonomies will appear in the left admin menu.
Screenshots
- What you see when you add a new portfolio item.

FAQ
Is there a UI for choosing, customizing, and saving the blocks in the template?
That would be an amazing feature. Unfortunately, I don't know how to build it. If you do and would like to, let's talk.
This plugin can be used as-is by an end user who wants to use this format for a portfolio, but it's really designed as a proof of concept and to provide an exampe for developers who want to use block templates in their CPTs.
Will this plugin be in the WordPress.org repository?
I don't have plans to submit it at this time, but perhaps if I get it polished, or someone helps me build a UI.
Changelog
0.6
- Added block attributes for headings and paragraphs.
0.5
- First functional version, not really ready for prime time but shouldn't blow up anyone's site.