WordPress Developer Ukraine, Kyiv
Get ACF field values in WordPress templates and functions

Get ACF field values in WordPress templates and functions

Advanced Custom Fields is one of the most installed WordPress plugins for a reason: it bridges the gap between WordPress as a blogging platform and WordPress as a structured content management system without requiring developers to write custom meta box code from scratch. Instead of building registration arrays, sanitization callbacks, and rendering functions for every…
Register a custom post type in WordPress the right way

Register a custom post type in WordPress the right way

WordPress ships with two built-in content types — posts and pages — that cover the standard blogging and static content use cases the platform was originally designed for. As WordPress evolved into a general-purpose content management system and application framework, developers began building sites that needed to manage fundamentally different types of structured content: real…
Add Taxonomy Term Name to Custom Post Type Permalink Slug

Add Taxonomy Term Name to Custom Post Type Permalink Slug

By default, the permalink for a custom post type (CPT) looks like /resources/post-title/. If you want the taxonomy term to appear in the URL — /resources/term-name/post-title/ — you need to replace the rewrite slug’s placeholder at permalink generation time and register a matching rewrite rule so WordPress can resolve those URLs.
Add Built-in WordPress Tags to a Custom Post Type

Add Built-in WordPress Tags to a Custom Post Type

When you need tag-like classification for a custom post type, the instinct is often to register a new custom taxonomy. But if you want to reuse the same tag pool that regular posts use — including the ability to create tags directly from the post-editing screen and have them appear on the shared tag archive…