{"id":41716,"date":"2025-10-17T04:20:41","date_gmt":"2025-10-17T01:20:41","guid":{"rendered":"https:\/\/coma.lv\/2025\/10\/17\/what-are-post-types\/"},"modified":"2025-10-17T04:20:41","modified_gmt":"2025-10-17T01:20:41","slug":"what-are-post-types","status":"publish","type":"post","link":"https:\/\/coma.lv\/en\/2025\/10\/17\/what-are-post-types\/","title":{"rendered":"What Are Post Types"},"content":{"rendered":"\n<p style=\"text-align: left;\">Post types is a term used for the different kinds of text content on a WordPress site. WordPress was originally launched in 2003 as a blogging platform. Posts are general blogging terminology that stuck to the WordPress system as it evolved into a content management system (CMS). When WordPress added a different type of content, pages, it called it another kind of post, and that is where the name &#8220;post type&#8221; comes from. In later versions WordPress gave developers the ability to register their own kinds of posts. In general, a post type defines the structure and behavior of a particular piece of content.<\/p>\n<p style=\"text-align: left;\">By default, WordPress offers the following types:<\/p>\n<ul style=\"text-align: left;\">\n<li style=\"text-align: left;\">Post (post)<\/li>\n<li style=\"text-align: left;\">Page (page)<\/li>\n<li style=\"text-align: left;\">Media file (attachment)<\/li>\n<li style=\"text-align: left;\">Revision (revision)<\/li>\n<li style=\"text-align: left;\">Navigation menu item (nav_menu_item)<\/li>\n<\/ul>\n<p style=\"text-align: left;\">Theme designers and developers can add custom post types using the <code data-start=\"1127\" data-end=\"1149\">register_post_type()<\/code> function or one of the many plugins.<\/p>\n<p style=\"text-align: left;\" data-start=\"1035\" data-end=\"1504\">Custom post types have really pushed WordPress toward being a full content management system, because they are now used to build sites of many kinds: real estate sites, movie databases, portfolios, online stores and so on.<\/p>\n<hr \/>\n<p style=\"text-align: left;\"><em>Our specialization is WordPress website development and maintenance. Contact us for a free consultation \u2014 <a href=\"mailto:vadim@coma.lv\">vadim@coma.lv<\/a>, <a href=\"tel:+37129394520\">+371 29394520<\/a><\/em><\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>Post types is a term used for the different kinds of text content on a WordPress site. WordPress was originally launched in 2003 as a blogging platform. Posts are general blogging terminology that stuck to the WordPress system as it evolved into a content management system (CMS). When WordPress added a different type of content, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":37626,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1225,1405],"tags":[],"class_list":["post-41716","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","category-terms"],"_links":{"self":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts\/41716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/comments?post=41716"}],"version-history":[{"count":0,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/posts\/41716\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/media\/37626"}],"wp:attachment":[{"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/media?parent=41716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/categories?post=41716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coma.lv\/en\/wp-json\/wp\/v2\/tags?post=41716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}