Sarika Portfolio Manager
Manages portfolio projects using a Custom Post Type with meta fields and shortcode display.
by Sarika · github.com/sarikayadav24/sarika-portfolio-manager · website
★ 0stars
0forks
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/sarikayadav24/sarika-portfolio-manager/archive/refs/heads/main.zipA custom WordPress plugin that manages portfolio projects using a Custom Post Type (CPT) with meta boxes, admin columns and shortcode display.
Features
Custom Post Type
- Registers a Portfolio post type with its own admin menu
- Supports title, content editor and featured image
- Custom URL structure:
/portfolio/project-name - Archive page at
/portfolio/
Portfolio Categories
- Custom taxonomy for grouping projects by category
- Hierarchical like standard WordPress categories
Custom Meta Boxes
- Live Project URL — link to the live site
- GitHub URL — link to the repository
- Technologies Used — comma separated e.g. PHP, WordPress, CSS
- Project Type — Theme, Plugin, WooCommerce, Website, Other
- All data saved securely with nonce verification and sanitization
Custom Admin Columns
- Thumbnail — featured image preview (60x60)
- Type — colored badge (purple=Theme, green=Plugin, etc.)
- Technologies — tag pills for each technology
- GitHub — clickable View link
- Live URL — clickable View link
- Sortable by Type and Date
Frontend Shortcode
- Shortcode:
[sarika_portfolio] - Displays all projects in a responsive grid
- Supports count and type filter attributes
- Shows featured image, type badge, title, excerpt, tech tags, GitHub and Live links
Shortcode Usage
Basic usage — shows all projects:
[sarika_portfolio]
Show only 3 projects:
[sarika_portfolio count="3"]
Filter by type:
[sarika_portfolio type="plugin"]
[sarika_portfolio type="theme"]
[sarika_portfolio type="woocommerce"]
Tech Stack
- PHP
- WordPress CPT API
- WordPress Meta Boxes API
- WP_Query
- CSS3 (Grid, Flexbox, Animations)
Plugin Structure
sarika-portfolio-manager/
├── sarika-portfolio-manager.php # Main plugin file
├── includes/
│ ├── cpt.php # Register CPT and taxonomy
│ ├── meta-boxes.php # Custom fields (add, render, save)
│ ├── shortcode.php # Frontend grid display
│ └── admin-columns.php # Custom admin list columns
└── assets/
└── portfolio.css # Frontend styles
Installation
- Download or clone this repository
- Upload
sarika-portfolio-managerfolder to/wp-content/plugins/ - Go to Plugins → Installed Plugins in WordPress admin
- Activate Sarika Portfolio Manager
- Go to Settings → Permalinks → Save Changes to flush rewrite rules
- A Portfolio menu will appear in the admin sidebar
Adding Projects
- Go to Portfolio → Add New Project
- Enter project title and description
- Set a featured image (screenshot of the project)
- Fill in the Project Details meta box:
- Live URL, GitHub URL, Technologies, Project Type
- Click Publish
Displaying Projects
Add the shortcode to any page:
[sarika_portfolio]
Requirements
- WordPress 5.0+
- PHP 7.4+
Author
Sarika Yadav
- GitHub: github.com/sarikayadav24
- Email: sarika86.yadav@gmail.com