{"id":1645285,"date":"2020-05-31T08:01:28","date_gmt":"2020-05-31T08:01:28","guid":{"rendered":"https:\/\/toolset.com\/course-chapter\/introduction-to-custom-types-for-membership-sites\/"},"modified":"2020-05-31T10:20:12","modified_gmt":"2020-05-31T10:20:12","slug":"custom-content-types-for-membership-sites","status":"publish","type":"course-chapter","link":"https:\/\/toolset.com\/fr\/course-chapter\/custom-content-types-for-membership-sites\/","title":{"rendered":"Custom Content Types for Membership Sites"},"content":{"rendered":"\n<p class=\"lead wp-block-paragraph\">Membership sites typically allow \u00ab\u00a0members&nbsp;&raquo; special access to some kind of content. You should use custom post types, fields and taxonomy to create this content and arrange it. This way, it&rsquo;s easy to manage the \u00ab\u00a0members only&nbsp;&raquo; content and to control who can view it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Although WordPress comes with pre-built \u00ab\u00a0pages&nbsp;&raquo; and \u00ab\u00a0posts&nbsp;&raquo;, it&rsquo;s a good idea to use custom post types for the content that you want to reserve for members. This way, you&rsquo;ll use the WordPress \u00ab\u00a0pages&nbsp;&raquo; for public content (like your site&rsquo;s homepage or about-us page). You&rsquo;ll use the WordPress \u00ab\u00a0posts&nbsp;&raquo; for a public blog and you&rsquo;ll have full control over the access to the custom content that you create for members.<\/p>\n","protected":false},"author":1,"menu_order":0,"template":"","class_list":["post-1645285","course-chapter","type-course-chapter","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-chapter\/1645285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-chapter"}],"about":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/types\/course-chapter"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/users\/1"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/media?parent=1645285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}