SleekPixel for Custom Post Type UI: per-CPT OG cards
CPT UI gives you portfolios, case studies, recipes, properties, and team members in their own post types. SleekPixel attaches a per-CPT template to each of them, pulling title, featured image, and any registered taxonomy into a branded OG image that ships on save.
♾️ Lifetime License available
One CPT, one template, every entry covered
CPT UI is the most-installed custom post type creator in WordPress, used to register everything from portfolio_item to property to recipe. Each CPT lives in wp_posts with its own post_type value and its registered taxonomy terms in wp_term_relationships. The problem: most themes only ship one OG image template, hardcoded around standard posts. Custom post types fall back to the site logo, or worse, nothing at all.
SleekPixel lets you pick a template per post type. The portfolio CPT gets a project-card layout pulling client name, completion year, and category. The recipe CPT gets a hero-image-with-prep-time layout. Each layout reads the registered taxonomies from get_object_taxonomies(), so taxonomy terms feed directly into the card without extra mapping.
When a new portfolio_item is published, the OG image is generated on save and stored as a real PNG attached to that post. Updating the project's title, client, or featured image refreshes the card. Updating the template refreshes every project at once via a background queue.
Workflow
From CPT UI registration to branded card
Detect CPT UI post types
cptui_post_types option) and lists each of them in its admin as a template target.
Pick a template per CPT
Map fields to template slots
Publish and ship
og:image tags in the head of that post's page.
Output
Sample CPT UI portfolio card
Rendered from a real CPT UI portfolio_item entry with featured image, project number, and taxonomy terms pulled live from WordPress.
Comparison
Default CPT fallback OG vs SleekPixel for Custom Post Type UI
Site logo on every CPT entry
- All CPT entries share the same generic site-logo OG image in shares
- Custom taxonomies registered via CPT UI never make it into preview images
- Featured images on portfolio or property CPTs are not used in social cards
- Adding a new CPT means another post type with no social presence
- Marketing has to mock up cards by hand whenever a CPT entry is launched
SleekPixel
- Per-CPT templates assigned to any post type registered through CPT UI
-
Reads registered taxonomies via
get_object_taxonomies()automatically -
Featured image, title, and meta from
wp_postmetarender into the card -
On-save generation hooks into
save_post_{post_type}per CPT - Bulk regenerate every CPT entry from the admin when a template changes
Features
What SleekPixel gives you for Custom Post Type UI
Template per post type
Pick a different layout for portfolio, property, team-member, recipe, or any CPT UI post type. Each gets its own field mapping so the card reflects what that content actually is.
Taxonomy-aware
CPT UI taxonomies feed directly into the card. Project categories, property types, recipe cuisines, or team departments render as badges or footers without extra setup.
On-save and bulk regen
Hooks into the per-post-type save action. When a CPT entry is published or updated, the card refreshes. A WP-CLI command regenerates every entry of a chosen CPT in batches.
Use cases
Where CPT UI sites get the biggest lift
Agency portfolio sites
Agencies registering a case_study CPT through CPT UI get branded project cards on every share, with client name and category as live data.
Real estate listings
Property CPTs share branded listing cards showing the headline photo, price band, and city, all read from the property's postmeta fields.
Team and speaker directories
Team-member CPTs share recognizable bio cards in newsletters and Slack pings instead of falling back to the corporate logo.
The bigger picture
CPT UI custom content deserves real social presence
Custom Post Type UI is what makes WordPress more than a blog. Agencies use it to register portfolio items. Real estate sites use it for listings.
Recipe blogs use it for ingredient-aware content. Directories use it for member profiles. In every one of those sites, the most-shared content is the CPT entry itself, not the homepage.
Yet the default OG image on a CPT page is whatever the theme decided, and most themes default to the site logo. Every link to a portfolio piece looks identical to every link to a team member. SleekPixel ties a template to each CPT and reads the registered taxonomies and meta fields automatically.
A property listing posts with the headline photo and city. A case study posts with the client name and outcome. A team-member share renders with the person's photo and role.
The CPT framework already knows what each post type is for. SleekPixel uses that information to make every link feel as specific as the content it points to, without manual mockups for each one.
Questions
Common questions about SleekPixel for Custom Post Type UI
Yes. SleekPixel reads the cptui_post_types option that CPT UI writes to and lists each registered post type in its admin. You assign a template per post type from there, and SleekPixel hooks into save_post_{post_type} for each one.
Yes. That is the main reason this integration exists. A portfolio CPT can get a project-card template, a recipe CPT can get a recipe-card template, and a property CPT can get a listing-card template. Each template maps to that CPT's specific fields and registered taxonomies.
 
Yes. SleekPixel calls get_object_taxonomies() for each CPT and exposes every registered taxonomy as a variable in the template editor. Terms render as badges, footer labels, or category lines without extra configuration.
It shows up in the SleekPixel admin the next time you reload, since SleekPixel re-reads the CPT UI option on every admin page load. You can assign a template at that point. Existing entries are picked up by the bulk regenerate command for that CPT.
 
Yes. Any postmeta key written to wp_postmeta against a CPT entry can be mapped into a template slot. If you use ACF, Meta Box, or hand-rolled meta boxes alongside CPT UI, those keys appear as available variables once the template detects them on a sample entry.
Real files. Each CPT entry's card is generated server-side on save and stored in the uploads directory as a PNG, then attached to that post. The og:image tag points to the static URL, so social platforms cache the image like any other featured image.
Yes. SleekPixel ships a WP-CLI command and an admin action that walks every entry of a chosen post type and regenerates the card in batches. The job runs as a background queue so it does not block the admin while a portfolio of 800 entries refreshes.
 
Yes. SleekPixel does not require CPT UI specifically. Any registered post type, whether created via CPT UI, Post Types Unlimited, ACF, or a plugin's own register_post_type call, appears in the SleekPixel admin and can have a template assigned to it.
Pricing
More than 1000+
happy customers
Explore our flexible licensing options tailored to your needs. Upgrade your license anytime to access more features, or opt for a lifetime license for ongoing value, including lifetime updates and lifetime support. Our hassle-free upgrade process ensures that our platform can grow with you, starting from whichever plan you choose.
Lifetime ♾️
Most popular
EUR
once
- Unlimited websites
- Lifetime updates
- Lifetime support
...or get the Bundle Deal
and save €250 🎁
The Bundle (unlimited sites)
Pay once, own it forever
Elevate your WordPress site with our exclusive plugin bundle that includes all of our premium plugins in one package. Enjoy lifetime updates and lifetime support. Save significantly compared to buying plugins individually.
What’s included
-
SleekAI
-
SleekByte
-
SleekMotion
-
SleekPixel
-
SleekRank
-
SleekView
€749
Continue to checkoutBrowse more
- Bluesky feed banner
- Etsy cover photos
- TikTok cover images
- Fansly banner
- Substack podcast cover
- Substack post headers
- KDP paperback cover
- Instagram highlight covers
- Threads profile banner
- YouTube Music cover art
- Threads story-style images
- Telegram bot avatar
- Instagram bio link banners
- Rumble thumbnails
- Mastodon link previews