{"id":1586541,"date":"2020-05-12T06:50:21","date_gmt":"2020-05-12T06:50:21","guid":{"rendered":"https:\/\/toolset.com\/?post_type=course-lesson&#038;p=1586541"},"modified":"2020-11-26T16:10:54","modified_gmt":"2020-11-26T16:10:54","slug":"when-and-why-you-should-use-custom-types","status":"publish","type":"course-lesson","link":"https:\/\/toolset.com\/fr\/course-lesson\/when-and-why-you-should-use-custom-types\/","title":{"rendered":"When and Why You Should Use Custom Types"},"content":{"rendered":"\n<p>These are the three main custom types in WordPress and how you should use them:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong><a href=\"https:\/\/toolset.com\/fr\/glossary\/custom-post-type\/\">Custom Post types<\/a><\/strong><ul><li>Use them to separate different types of content.<\/li><li>Each post type appears as a separate page in the main admin menu.<\/li><\/ul><\/li><li><strong><a href=\"https:\/\/toolset.com\/fr\/glossary\/custom-fields\/\">Custom Fields<\/a><\/strong><ul><li>Use them to add more custom information to your posts.<\/li><li>You can add different types of custom fields like text fields, numbers, checkboxes and radio options, URL fields, and more.<\/li><\/ul><\/li><li><strong><a href=\"https:\/\/toolset.com\/fr\/glossary\/taxonomy\/\">Custom Taxonomies<\/a><\/strong><ul><li>Use them to categorize your content.<\/li><li>On the front-end, you can then allow users to get a list of posts belonging to the category they select.<\/li><\/ul><\/li><\/ul>\n","protected":false},"author":4341,"featured_media":1630427,"template":"","related-lesson":[8403],"class_list":["post-1586541","course-lesson","type-course-lesson","status-publish","has-post-thumbnail","hentry","related-lesson-custom-types"],"_links":{"self":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson\/1586541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson"}],"about":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/types\/course-lesson"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/users\/4341"}],"version-history":[{"count":1,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson\/1586541\/revisions"}],"predecessor-version":[{"id":1723755,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson\/1586541\/revisions\/1723755"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/media\/1630427"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/media?parent=1586541"}],"wp:term":[{"taxonomy":"related-lesson","embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/related-lesson?post=1586541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}