You can use Custom Post Types with MemberMouse under most conditions. When creating a custom post type for WordPress, the developer will assign a capability type, telling WordPress how to view these custom posts. There are two main capability types, ‘post’ (default), and ‘page’. There may be others used, but these are the two that will be relevant to MemberMouse. If you are unsure of the type of custom post you are using, you can reach out to the developer, or use the following information to see what protection methods are available to you in MemberMouse when using them.
Você pode proteger posts personalizados com os recursos de página e post um de cada vezou use o cronograma de conteúdo de gotejamento. Os tipos de post personalizados com o recurso de post também podem ser protegido por categoria. Em alguns sistemas de gerenciamento de aprendizagem, os tipos de postagem personalizados podem não aparecer no cronograma de conteúdo de gotejamento e precisarão ser protegidos com o botão Grant Access (Conceder acesso) dentro do editor de páginas/postes ou por categoria, se suportado pelas configurações do tipo de postagem.
If you’re using custom post types and you want to be able to make those pages into MemberMouse páginas principais, you’ll need to ensure that your custom post type has page capabilities. If you’re unsure if this is the case you’ll want to reach out to your developer to ask them about this.
Essa é a verificação que o MemberMouse faz para determinar se o tipo de postagem personalizada é algo com que podemos trabalhar:
$postTypeObj = get_post_type_object($post->page_type);
if($postTypeObj->capability_type == "page")
{
// permite que seja a página principal
}

