Podcast Episodes Post Type With Seasons
Registers an "Episodes" post type for a podcast with a Season taxonomy, comments and an archive at /podcast/.
Snippet Library
Snippets for custom post types, taxonomies and custom fields: register a post type, add meta boxes, show fields in lists and archives. For developers modeling content beyond posts and pages.
Registers an "Episodes" post type for a podcast with a Season taxonomy, comments and an archive at /podcast/.
Adds a [post_grid type="..."] shortcode that shows any post type as a responsive grid of cards with image, title and excerpt, so a regular page can act as its archive.
Registers a "Press Releases" post type with its own /press/ archive and feed, keeping announcements apart from the blog.
Registers a "Products" catalog post type with Product Line categories for showcasing products when you do not sell online.
Adds price, bedrooms, bathrooms, floor area and address fields to property listings and a [property_details] shortcode that shows them as a fact list.
Adds a [post_count type="job"] shortcode that prints how many published items a post type has, for lines like "We have 12 open positions".
Builds custom post type URLs with a taxonomy term, such as /books/fantasy/the-hobbit/, which reads better and groups content by section.
Publishes selected fields from your ACF options pages at /wp-json/wpide/v1/site-options, so a headless front end or app can load site-wide settings.
Registers a "Properties" post type with Property Type and Property Status taxonomies (for sale, for rent, sold) for estate agents.
Turns the [recipe_card] output into a printable card with a fact strip for times and servings, a two-column ingredient list on wide screens and numbered steps.
Adds prep and cook times, servings, calories, ingredients and steps to recipes, plus a [recipe_card] shortcode that prints a tidy recipe card.
Registers a "Recipes" post type with Cuisine and Course taxonomies, comments and featured images, under /recipes/.
A ready-to-edit example that registers an ACF field group (subtitle, summary and call-to-action link) for posts in PHP, so the fields are version-controlled and cannot be changed in the admin.
Shows up to three other items that share a category or tag below single custom post type entries, such as related recipes, services or case studies.
Unregisters post types or taxonomies you never use, such as a theme's "Portfolio" or "Projects", to tidy the admin menu and URLs.
Gives a custom post type short URLs like example.com/web-design/ instead of example.com/services/web-design/, as pages have.
Changes the name a theme or plugin gave its post type everywhere in the admin, for example "Projects" to "Case Studies", without touching URLs or content.
Prevents two posts from sharing the same value in a field, such as a product code, membership number or reference ID.
Registers a "Resources" post type with a Resource Type taxonomy (guide, template, checklist) for a downloads or resource library.
Wraps the output of ACF oEmbed fields in a 16:9 container and adds lazy loading, so embedded videos scale to the screen instead of overflowing on phones.
Registers a "Menu Items" post type with Menu Section taxonomy (starters, mains, desserts) for restaurant and cafe menus, without single pages.
Lets editors use shortcodes in ACF text and text area fields, which ACF otherwise prints as plain text.
Stores Advanced Custom Fields field groups, post types and options pages as JSON files in wp-content/acf-json, so they survive theme changes and can go into version control.
Registers a tag-style "Series" taxonomy for posts, so tutorials or stories split across several posts can be grouped and linked.