{"id":18988,"date":"2013-12-17T23:29:56","date_gmt":"2013-12-17T21:29:56","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/?p=18988"},"modified":"2013-12-17T23:29:57","modified_gmt":"2013-12-17T21:29:57","slug":"apparently-its-trivial-to-add-custom-post-types","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2013\/12\/17\/apparently-its-trivial-to-add-custom-post-types\/","title":{"rendered":"Apparently, it&#8217;s trivial to add custom post types &#8230;"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>Apparently, it&#8217;s trivial to add custom post types archives to the main menu. \u00a0Enjoy!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>Apparently, it&#8217;s trivial to add custom post types archives to the main menu. \u00a0Enjoy!<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"status","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,1335,62,60],"tags":[],"keyring_services":[],"class_list":["post-18988","post","type-post","status-publish","format-status","hentry","category-general","category-site-news","category-technology","category-wordpress","post_format-post-format-status"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":23978,"url":"https:\/\/mamchenkov.net\/wordpress\/2015\/04\/24\/extending-wordpress-with-custom-content-types\/","url_meta":{"origin":18988,"position":0},"title":"Extending WordPress With Custom Content Types","author":"Leonid Mamchenkov","date":"April 24, 2015","format":"link","excerpt":"Smashing Magazine's take on \"Extending WordPress With Custom Content Types\" is one of the best I've seen around. \u00a0It is very complete - skipping only, from what I can tell, the REST API functionality of the custom post types. \u00a0It's easy to read and follow. \u00a0It has both screenshots and\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"wordpress-custom-post-type-menu-preview-opt","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2015\/04\/wordpress-custom-post-type-menu-preview-opt-500x322.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12308,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/03\/26\/finally-custom-post-types-in-wordpress-3-0\/","url_meta":{"origin":18988,"position":1},"title":"Finally, custom post types in WordPress 3.0 !","author":"Leonid Mamchenkov","date":"March 26, 2010","format":false,"excerpt":"The rumour has it that WordPress 3.0 will have custom post types built-in.\u00a0 These are excellent news!\u00a0 This means that 90% of all web development companies will be able to drop their own, complex and ugly in-house built systems and switch to WordPress development.\u00a0 And while WordPress code isn't the\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21429,"url":"https:\/\/mamchenkov.net\/wordpress\/2014\/03\/31\/wordpress-plugin-google-xml-sitemaps-4-0-significant-changes\/","url_meta":{"origin":18988,"position":2},"title":"WordPress plugin : Google XML Sitemaps 4.0 significant changes","author":"Leonid Mamchenkov","date":"March 31, 2014","format":false,"excerpt":"One of the most popular WordPress plugins - Google XML Sitemap - has recently been upgrade to version 4.0, with some significant changes. \u00a0Here is the quote from the changelog: New in Version 4.0 (2014-03-30): No static files anymore, sitemap is created on the fly! Sitemap is split-up into sub-sitemaps\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13110,"url":"https:\/\/mamchenkov.net\/wordpress\/2010\/08\/05\/agentpress-wordpress-theme-for-real-estate-websites\/","url_meta":{"origin":18988,"position":3},"title":"AgentPress &#8211; WordPress theme for real estate websites","author":"Leonid Mamchenkov","date":"August 5, 2010","format":false,"excerpt":"Some time ago I mentioned StayPress plugin for WordPress, for those people who need such functionality on their real estate web sites. \u00a0Today I have something else to talk about - AgentPress theme for WordPress designed and implemented by awesome people at StudioPress (too much Press in this sentense, isn't\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2010\/08\/agentpress_theme.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":29022,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/11\/24\/on-submitting-trivial-patches\/","url_meta":{"origin":18988,"position":4},"title":"On submitting trivial patches","author":"Leonid Mamchenkov","date":"November 24, 2018","format":false,"excerpt":"Hacker News points to this Linux kernel patch, done by a 4-year old.\u00a0 With some assistance, of course, but still impressive.\u00a0 And while the story is cute, the comments are even better.\u00a0 In particular, a link to this email from Linus Torvalds, talking about the importance of the small and\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14786,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/04\/23\/upgrading-to-php-5-2-x-on-centos\/","url_meta":{"origin":18988,"position":5},"title":"Upgrading to PHP 5.2.x on CentOS","author":"Leonid Mamchenkov","date":"April 23, 2011","format":false,"excerpt":"Today while setting up yet another project on my hosting server. \u00a0The server runs CentOS 5.6, which means PHP 5.1.6 is used. \u00a0However the new project required PHP 5.2.0+. \u00a0It turned out upgrading PHP is trivial. \u00a0There is even a Howto Guide in CentOS wiki. \u00a0The steps are: Add CentOS\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=18988"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/18988\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=18988"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=18988"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=18988"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=18988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}