{"id":42,"date":"2026-11-10T04:22:47","date_gmt":"2026-11-10T04:22:47","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=custom-post-type"},"modified":"2026-11-10T08:03:15","modified_gmt":"2026-11-10T08:03:15","slug":"custom-post-type","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=custom-post-type","title":{"rendered":"Custom Post Type"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress ships with posts and pages, but developers can register new types with their own fields, templates and URLs. This glossary itself is built as a custom post type.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Custom post types keep content organised and easy to manage. A property agency can add listings with price, location and bedrooms fields instead of formatting each one by hand.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A real estate site uses a Property post type with fields for price, location, bedrooms and gallery, and visitors can filter listings by area.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you keep copy-pasting the same layout for similar items, you probably need a custom post type.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>A content type beyond regular posts and pages, such as Projects, Products, Properties or Glossary Terms.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[8],"dc_topic":[33],"class_list":["post-42","dc_term","type-dc_term","status-publish","hentry","dc_letter-c","dc_topic-wordpress"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/42","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/42\/revisions"}],"predecessor-version":[{"id":291,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/42\/revisions\/291"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=42"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=42"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}