{"id":25247,"date":"2021-03-01T07:00:00","date_gmt":"2021-03-01T14:00:00","guid":{"rendered":"https:\/\/memberpress.com\/?p=25247"},"modified":"2022-11-16T15:15:58","modified_gmt":"2022-11-16T22:15:58","slug":"roles-based-content-protection-memberpress","status":"publish","type":"post","link":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/","title":{"rendered":"C\u00f3mo proteger contenidos en funci\u00f3n de funciones y capacidades con MemberPress"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Un sitio de afiliaci\u00f3n le ofrece la posibilidad de permitir el acceso a contenidos en funci\u00f3n del nivel de afiliaci\u00f3n. Por ejemplo, una afiliaci\u00f3n de nivel bronce puede dar acceso a un art\u00edculo en profundidad, mientras que una afiliaci\u00f3n de nivel oro incluye tambi\u00e9n una serie de v\u00eddeos sobre el tema. <\/p><div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<label for=\"ez-toc-cssicon-toggle-item-6a75892ea93d9\" class=\"ez-toc-cssicon-toggle-label\"><p class=\"ez-toc-title\" style=\"cursor:inherit\">QU\u00c9 HAY DENTRO<\/p>\n<span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #000000;color:#000000\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #000000;color:#000000\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a75892ea93d9\"  \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#An_Introduction_to_WordPress_Roles_and_Capabilities\" >Introducci\u00f3n a las funciones y capacidades de WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#How_to_Protect_Content_Based_on_Roles_and_Capabilities_with_MemberPress_2_Methods\" >C\u00f3mo proteger contenidos en funci\u00f3n de funciones y capacidades con MemberPress (2 m\u00e9todos)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#Method_1_Protect_Content_Based_on_a_Role\" >M\u00e9todo 1 Proteger contenidos en funci\u00f3n de un rol<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#Method_2_Restrict_Content_Based_on_a_Capability\" >M\u00e9todo 2 Restringir contenidos en funci\u00f3n de una capacidad<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#Conclusion\" >Conclusi\u00f3n<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n\n<p class=\"wp-block-paragraph\">Pero, \u00bfy si quiere proteger contenidos en funci\u00f3n de otros criterios?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Esto puede ser especialmente \u00fatil si utilizas integraciones de terceros con tu sitio web. Gracias a <a href=\"https:\/\/memberpress.com\/es\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> roles y reglas de capacidades, tendr\u00e1s m\u00e1s control sobre tus contenidos. Puedes restringir el acceso a cualquier pieza en funci\u00f3n de los par\u00e1metros que elijas con solo unos clics.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En este art\u00edculo, le explicaremos c\u00f3mo proteger contenido basado en funciones y capacidades con MemberPress. Tambi\u00e9n explicaremos qu\u00e9 son los roles y las capacidades, y cubriremos algunas razones por las que puedes querer utilizar esta funci\u00f3n. Manos a la obra.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"An_Introduction_to_WordPress_Roles_and_Capabilities\"><\/span>Introducci\u00f3n a las funciones y capacidades de WordPress<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg\"><img decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg\" alt=\"Funciones y capacidades de WordPress\" class=\"wp-image-25944\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-300x131.jpg 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-768x335.jpg 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1536x670.jpg 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg 1583w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption>Funciones y capacidades de WordPress vistas con la aplicaci\u00f3n gratuita <a href=\"https:\/\/wordpress.org\/plugins\/user-roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Plugin de funciones y capacidades de los usuarios<\/a><\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer.wordpress.org\/plugins\/users\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">Funciones y capacidades<\/a> est\u00e1n integradas en WordPress y le permiten controlar los privilegios de los usuarios. Si ha utilizado WordPress durante alg\u00fan tiempo, probablemente est\u00e9 familiarizado con sus roles predeterminados. Estos incluyen: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Administrador:<\/strong> Tiene permisos ilimitados, incluyendo la instalaci\u00f3n y activaci\u00f3n de plugins y temas.<\/li><li><strong>Redactor:<\/strong> Puede modificar sus propios mensajes y los de otros usuarios.<\/li><li><strong>Autor:<\/strong> Es capaz de escribir y publicar sus propios posts.<\/li><li><strong>Colaborador:<\/strong> Pueden escribir (pero no publicar) sus propios mensajes.<\/li><li><strong>Abonado:<\/strong> S\u00f3lo tiene permiso para leer mensajes.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Los roles funcionan como una jerarqu\u00eda. Un Suscriptor tiene la menor cantidad de privilegios y el acceso m\u00e1s limitado. Cada nivel sucesivo tiene las capacidades del rol inferior, adem\u00e1s de privilegios y acceso adicionales. Un Administrador de WordPress tiene todos los privilegios y acceso. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Puede utilizar estos roles de WordPress para controlar el acceso al contenido en su sitio de membres\u00eda MemberPress:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles.png\"><img decoding=\"async\" width=\"1024\" height=\"228\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png\" alt=\"configuraci\u00f3n de funciones y capacidades en wordpress\" class=\"wp-image-25255\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-300x67.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-768x171.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1536x342.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-2048x455.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Una capacidad de WordPress es una tarea que un usuario puede realizar. Las capacidades est\u00e1n ocultas en WordPress y funcionan en funci\u00f3n de los roles a los que est\u00e1n asociadas. Incluyen operaciones como editar una entrada, a\u00f1adir una p\u00e1gina o eliminar un usuario.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Aunque muchos propietarios de <a href=\"https:\/\/memberpress.com\/es\/docs\/rules-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">proteger los contenidos en funci\u00f3n de la afiliaci\u00f3n<\/a>Sin embargo, puede haber casos en los que desee protegerlo bas\u00e1ndose en los roles o capacidades de WordPress. Por ejemplo:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Un plugin de terceros puede crear autom\u00e1ticamente funciones adicionales de WordPress para las que desee conceder un acceso espec\u00edfico. <\/li><li>Es posible que todos los usuarios con capacidad para editar entradas necesiten acceder a una p\u00e1gina con informaci\u00f3n confidencial o privada.<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Con la funci\u00f3n Reglas de MemberPress, puede proteger f\u00e1cilmente cualquier contenido de su sitio utilizando los par\u00e1metros que tengan m\u00e1s sentido para la situaci\u00f3n.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Protect_Content_Based_on_Roles_and_Capabilities_with_MemberPress_2_Methods\"><\/span>C\u00f3mo proteger contenidos en funci\u00f3n de funciones y capacidades con MemberPress (2 m\u00e9todos)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">En la mayor\u00eda de los casos, proteger\u00e1 el contenido de su sitio en funci\u00f3n de la designaci\u00f3n de los miembros. Sin embargo, si considera necesario proteger el contenido en funci\u00f3n de las funciones o capacidades, MemberPress le ofrece la flexibilidad necesaria para hacerlo. Le explicamos c\u00f3mo.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_1_Protect_Content_Based_on_a_Role\"><\/span>M\u00e9todo 1: Proteger contenidos en funci\u00f3n de un rol<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Si a\u00fan no lo ha hecho, cree el contenido que desea proteger.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A continuaci\u00f3n, desde el panel de control de WordPress, vaya a <em>MemberPress<\/em> > <em>Reglas &gt; A\u00f1adir nuevo<\/em>:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png\"><img decoding=\"async\" width=\"1024\" height=\"569\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png\" alt=\"Captura de pantalla del panel de administraci\u00f3n de MemberPress\" class=\"wp-image-25248\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-300x167.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-768x427.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">En <em>Contenido protegido<\/em>seleccione la entrada o p\u00e1gina que desea proteger. En la ventana <em>Condiciones de acceso<\/em> seleccione <em>Papel<\/em>: <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png\"><img decoding=\"async\" width=\"1024\" height=\"389\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png\" alt=\"Captura de pantalla de MemberPress admin - Opciones de reglas.\" class=\"wp-image-25249\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-300x114.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-768x292.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Una vez hecho esto, aparecer\u00e1 un men\u00fa desplegable a la derecha. En \u00e9l, seleccione el rol espec\u00edfico al que desea permitir el acceso:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png\"><img decoding=\"async\" width=\"1024\" height=\"388\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png\" alt=\"Captura de pantalla de MemberPress admin - Opci\u00f3n Reglas seleccionada: Editor.\" class=\"wp-image-25250\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-300x114.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-768x291.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Si dispone de plugins de terceros que crean autom\u00e1ticamente roles de WordPress, observar\u00e1 que estos aparecen aqu\u00ed adem\u00e1s de los roles predeterminados de WordPress de Administrador, Editor, Autor, Colaborador y Suscriptor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Por ejemplo, <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> a\u00f1ade los roles de Cliente y Gestor de tienda a WordPress. Si quisieras crear contenido y hacerlo visible solo para aquellos que te han comprado productos, podr\u00edas usar una regla basada en roles para hacerlo.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tambi\u00e9n puede a\u00f1adir reglas adicionales a cualquier contenido seleccionando el bot\u00f3n <em>M\u00e1s<\/em> (+) debajo de <em>Condiciones de acceso<\/em>. Esto le da la posibilidad de personalizar completamente sus permisos.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Method_2_Restrict_Content_Based_on_a_Capability\"><\/span>M\u00e9todo 2: Restringir contenidos en funci\u00f3n de una capacidad<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cree el contenido que desea proteger y, a continuaci\u00f3n, vaya a <em>MemberPress<\/em> > <em>Reglas &gt;<\/em> <em>A\u00f1adir nuevo<\/em> como hemos descrito anteriormente. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En <em>Contenido protegido<\/em>Seleccione el contenido que desea proteger. Ir a <em>Condiciones de acceso<\/em> y seleccione <em>Capacidades<\/em>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png\"><img decoding=\"async\" width=\"1024\" height=\"387\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png\" alt=\"Captura de pantalla de MemberPress admin - Opciones de capacidades.\" class=\"wp-image-25251\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-300x113.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-768x290.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">En el campo que aparece a la derecha, escriba la funci\u00f3n de la capacidad a la que desea conceder acceso. Cualquier usuario con esa capacidad podr\u00e1 acceder al contenido:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png\"><img decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png\" alt=\"Captura de pantalla de MemberPress admin - Opci\u00f3n de capacidades introducida: edit_posts.\" class=\"wp-image-25252\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-300x162.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-768x414.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png 1440w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Encontrar\u00e1 una lista de las funciones de capacidad por defecto en la secci\u00f3n <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/#capabilities\" target=\"_blank\" rel=\"noreferrer noopener\">C\u00f3dice de WordPress<\/a>. Para crear una regla basada en capacidades, debe escribir el nombre de la capacidad en el mismo formato que aparece en el Codex de WordPress:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png\"><img decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png\" alt=\"wordpress codex captura de pantalla\" class=\"wp-image-25253\" srcset=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png 1024w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-300x145.png 300w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-768x371.png 768w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1536x742.png 1536w, https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png 1580w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Puede a\u00f1adir reglas adicionales a cualquier contenido seleccionando el bot\u00f3n <em>M\u00e1s<\/em> (+) debajo de <em>Condiciones de acceso<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusi\u00f3n<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Generalmente, usted proteger\u00e1 el contenido de su sitio web de membres\u00eda bas\u00e1ndose en los niveles de membres\u00eda. Sin embargo, puede haber casos en los que sea \u00fatil proteger el contenido en funci\u00f3n de una funci\u00f3n o capacidad de WordPress. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/memberpress.com\/es\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> le ofrece la flexibilidad y libertad para crear estas reglas y controlar su contenido de la forma que tenga m\u00e1s sentido para su sitio.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">En este art\u00edculo hemos hablado de las reglas de Roles y Capacidades de MemberPress. Compartimos algunas razones por las que puede querer utilizar estas opciones, y le mostramos c\u00f3mo agregar estas reglas en unos sencillos pasos.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00bfTienes alguna pregunta sobre c\u00f3mo proteger tus contenidos en funci\u00f3n de las funciones o capacidades? H\u00e1ganoslo saber en la secci\u00f3n de comentarios.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Si te ha gustado este art\u00edculo, no dejes de seguirnos en <a href=\"https:\/\/www.facebook.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Facebook<\/a>, <a href=\"https:\/\/twitter.com\/memberpress\" rel=\"noreferrer noopener\" target=\"_blank\">Twitter<\/a>, <a href=\"https:\/\/www.instagram.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Instagram<\/a>y <a href=\"https:\/\/www.linkedin.com\/showcase\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">LinkedIn<\/a>!<\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>A membership site offers you the ability to allow access to content based on membership level. For instance, a bronze level membership may provide access to an in-depth article, while a gold membership includes a video series on the topic as well. But, what if you want to protect content based on other criteria? This [\u2026]<\/p>\n","protected":false},"author":76756,"featured_media":25454,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","_strive_post_notes":"","footnotes":""},"categories":[120,134],"tags":[812,609],"class_list":["post-25247","post","type-post","status-publish","format-standard","has-post-thumbnail","category-content","category-how-to-2","tag-content-protection","tag-roles-and-capabilities","entry"],"acf":{"plans":["scale"],"is_featured":false,"download_source":"none","mothership_slug":"","download_url":""},"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.6.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we&#039;ll show you how to set it up!\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Zeph Bluestone\"\/>\n\t<meta name=\"keywords\" content=\"content protection,roles and capabilities\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.6.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"es_ES\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Protect Content Based on Roles and Capabilities with MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we&#039;ll show you how to set it up!\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"873\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-03-01T14:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-11-16T22:15:58+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Protect Content Based on Roles and Capabilities with MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we&#039;ll show you how to set it up!\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#blogposting\",\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"headline\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/staff-writer\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/roles-and-capabilities-1.jpg\",\"width\":1024,\"height\":873,\"caption\":\"roles and capabilities\"},\"datePublished\":\"2021-03-01T07:00:00-05:00\",\"dateModified\":\"2022-11-16T15:15:58-05:00\",\"inLanguage\":\"es-ES\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#webpage\"},\"articleSection\":\"Content, How To, content protection, roles and capabilities\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/es\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/#listItem\",\"name\":\"Membership Site\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/#listItem\",\"position\":2,\"name\":\"Membership Site\",\"item\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/content\\\/#listItem\",\"name\":\"Content\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/content\\\/#listItem\",\"position\":3,\"name\":\"Content\",\"item\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/content\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#listItem\",\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/#listItem\",\"name\":\"Membership Site\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#listItem\",\"position\":4,\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/category\\\/membership-site\\\/content\\\/#listItem\",\"name\":\"Content\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/staff-writer\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/staff-writer\\\/\",\"name\":\"Zeph Bluestone\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/e1c9e7d7b492bb1e583580325b42f8d0.jpg?ver=1786029628\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/\",\"name\":\"How to Protect Content Based on Roles and Capabilities with MemberPress\",\"description\":\"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!\",\"inLanguage\":\"es-ES\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/staff-writer\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/author\\\/staff-writer\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/roles-and-capabilities-1.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#mainImage\",\"width\":1024,\"height\":873,\"caption\":\"roles and capabilities\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/blog\\\/roles-based-content-protection-memberpress\\\/#mainImage\"},\"datePublished\":\"2021-03-01T07:00:00-05:00\",\"dateModified\":\"2022-11-16T15:15:58-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/es\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"es-ES\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/es\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How to Protect Content Based on Roles and Capabilities with MemberPress<\/title>\n\n","aioseo_head_json":{"title":"C\u00f3mo proteger contenidos en funci\u00f3n de funciones y capacidades con MemberPress","description":"Saber c\u00f3mo proteger el contenido basado en roles y capacidades en WordPress te da flexibilidad. En este art\u00edculo, te mostraremos c\u00f3mo configurarlo.","canonical_url":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/","robots":"max-image-preview:large","keywords":"content protection,roles and capabilities","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#blogposting","name":"How to Protect Content Based on Roles and Capabilities with MemberPress","headline":"How to Protect Content Based on Roles and Capabilities with MemberPress","author":{"@id":"https:\/\/memberpress.com\/es\/blog\/author\/staff-writer\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/es\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","width":1024,"height":873,"caption":"roles and capabilities"},"datePublished":"2021-03-01T07:00:00-05:00","dateModified":"2022-11-16T15:15:58-05:00","inLanguage":"es-ES","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#webpage"},"articleSection":"Content, How To, content protection, roles and capabilities"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/es","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/#listItem","name":"Membership Site"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/#listItem","position":2,"name":"Membership Site","item":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/content\/#listItem","name":"Content"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/content\/#listItem","position":3,"name":"Content","item":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/content\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#listItem","name":"How to Protect Content Based on Roles and Capabilities with MemberPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/#listItem","name":"Membership Site"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#listItem","position":4,"name":"How to Protect Content Based on Roles and Capabilities with MemberPress","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/content\/#listItem","name":"Content"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/es\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/es\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/es\/blog\/author\/staff-writer\/#author","url":"https:\/\/memberpress.com\/es\/blog\/author\/staff-writer\/","name":"Zeph Bluestone","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/e1c9e7d7b492bb1e583580325b42f8d0.jpg?ver=1786029628"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#webpage","url":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/","name":"How to Protect Content Based on Roles and Capabilities with MemberPress","description":"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!","inLanguage":"es-ES","isPartOf":{"@id":"https:\/\/memberpress.com\/es\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/es\/blog\/author\/staff-writer\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/es\/blog\/author\/staff-writer\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#mainImage","width":1024,"height":873,"caption":"roles and capabilities"},"primaryImageOfPage":{"@id":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/#mainImage"},"datePublished":"2021-03-01T07:00:00-05:00","dateModified":"2022-11-16T15:15:58-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/es\/#website","url":"https:\/\/memberpress.com\/es\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"es-ES","publisher":{"@id":"https:\/\/memberpress.com\/es\/#organization"}}]},"og:locale":"es_ES","og:site_name":"MemberPress","og:type":"article","og:title":"How to Protect Content Based on Roles and Capabilities with MemberPress","og:description":"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!","og:url":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg","og:image:width":1024,"og:image:height":873,"article:published_time":"2021-03-01T14:00:00+00:00","article:modified_time":"2022-11-16T22:15:58+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"How to Protect Content Based on Roles and Capabilities with MemberPress","twitter:description":"Knowing how to protect content based on roles and capabilities in WordPress gives you flexibility. In this article, we'll show you how to set it up!","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/roles-and-capabilities-1.jpg"},"aioseo_meta_data":{"post_id":"25247","title":"C\u00f3mo proteger contenidos en funci\u00f3n de funciones y capacidades con MemberPress","description":"Saber c\u00f3mo proteger el contenido basado en roles y capacidades en WordPress te da flexibilidad. En este art\u00edculo, te mostraremos c\u00f3mo configurarlo.","keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"none","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"},\"book\":[],\"event\":[],\"jobPosting\":[],\"music\":[],\"person\":[],\"restaurant\":[],\"service\":[],\"video\":[]}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2025-10-09 18:46:02","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2021-01-07 01:52:10","updated":"2026-03-03 15:04:54"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/es\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/\" title=\"Membership Site\">Membership Site<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/content\/\" title=\"Content\">Content<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tHow to Protect Content Based on Roles and Capabilities with MemberPress\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/es"},{"label":"Membership Site","link":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/"},{"label":"Content","link":"https:\/\/memberpress.com\/es\/blog\/category\/membership-site\/content\/"},{"label":"How to Protect Content Based on Roles and Capabilities with MemberPress","link":"https:\/\/memberpress.com\/es\/blog\/roles-based-content-protection-memberpress\/"}],"app_bookmark":{"bookmark_id":0,"is_bookmarked":false,"bookmark_date":0},"comments_count":"0","content_native":[{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">A membership site offers you the ability to allow access to content based on membership level. For instance, a bronze level membership may provide access to an in-depth article, while a gold membership includes a video series on the topic as well. <\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">A membership site offers you the ability to allow access to content based on membership level. For instance, a bronze level membership may provide access to an in-depth article, while a gold membership includes a video series on the topic as well. <\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">But, what if you want to protect content based on other criteria?<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">But, what if you want to protect content based on other criteria?<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">This may be especially helpful if you\u2019re using third-party integrations with your website. Thanks to <a href=\"https:\/\/memberpress.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> roles and capabilities rules, you have more control over your content. You can restrict access to any piece based on your chosen parameters with just a few clicks.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">This may be especially helpful if you\u2019re using third-party integrations with your website. Thanks to <a href=\"https:\/\/memberpress.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> roles and capabilities rules, you have more control over your content. You can restrict access to any piece based on your chosen parameters with just a few clicks.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">In this article, we\u2019ll walk you through how to protect content based on roles and capabilities with MemberPress. We\u2019ll also explain what roles and capabilities are, and cover a few reasons why you may want to use this feature. Let\u2019s get to it!<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">In this article, we\u2019ll walk you through how to protect content based on roles and capabilities with MemberPress. We\u2019ll also explain what roles and capabilities are, and cover a few reasons why you may want to use this feature. Let\u2019s get to it!<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">An Introduction to WordPress Roles and Capabilities<\/h2>","content":"Introducci\u00f3n a las funciones y capacidades de WordPress","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg\" alt=\"WordPress roles and capabilities\" class=\"wp-image-25944\"\/><\/a><figcaption>WordPress roles and capabilities as viewed using the free <a href=\"https:\/\/wordpress.org\/plugins\/user-roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">User Roles &amp; Capabilities plugin<\/a><\/figcaption><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities.jpg","alt":"WordPress roles and capabilities","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/02\/wordpress-roles-capabilities-1024x447.jpg","caption":"WordPress roles and capabilities as viewed using the free <a href=\"https:\/\/wordpress.org\/plugins\/user-roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">User Roles &amp; Capabilities plugin<\/a>","targetBlank":true,"linkDestination":"media"},"style":{"width":1024,"height":447,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer.wordpress.org\/plugins\/users\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">Roles and capabilities<\/a> are built into WordPress and enable you to control users' privileges. If you\u2019ve used WordPress for any amount of time, you\u2019re probably familiar with its default roles. These include: <\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developer.wordpress.org\/plugins\/users\/roles-and-capabilities\/\" target=\"_blank\" rel=\"noreferrer noopener\">Roles and capabilities<\/a> are built into WordPress and enable you to control users' privileges. If you\u2019ve used WordPress for any amount of time, you\u2019re probably familiar with its default roles. These include: <\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/list","render":"<ul class=\"wp-block-list\"><li><strong>Administrator:<\/strong> Has unlimited permissions, including installing and activating plugins and themes.<\/li><li><strong>Editor:<\/strong> Can make changes to their own posts, and those of other users.<\/li><li><strong>Author:<\/strong> Is able to write and publish their own posts.<\/li><li><strong>Contributor:<\/strong> Can write (but not publish) their own posts.<\/li><li><strong>Subscriber:<\/strong> Only has permission to read posts.<\/li><\/ul>","content":"<ul class=\"wp-block-list\"><li><strong>Administrador:<\/strong> Tiene permisos ilimitados, incluyendo la instalaci\u00f3n y activaci\u00f3n de plugins y temas.<\/li><li><strong>Redactor:<\/strong> Puede modificar sus propios mensajes y los de otros usuarios.<\/li><li><strong>Autor:<\/strong> Es capaz de escribir y publicar sus propios posts.<\/li><li><strong>Colaborador:<\/strong> Pueden escribir (pero no publicar) sus propios mensajes.<\/li><li><strong>Abonado:<\/strong> S\u00f3lo tiene permiso para leer mensajes.<\/li><\/ul>","data":{"listType":"unordered"},"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Roles operate as a hierarchy. A Subscriber has the least amount of privileges and the most limited access. Each successive level has the capabilities of the role beneath it, plus additional privileges and access. A WordPress Administrator has full privileges and access. <\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Roles operate as a hierarchy. A Subscriber has the least amount of privileges and the most limited access. Each successive level has the capabilities of the role beneath it, plus additional privileges and access. A WordPress Administrator has full privileges and access. <\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">You can use these WordPress roles to control access to content on your MemberPress membership site:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">You can use these WordPress roles to control access to content on your MemberPress membership site:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png\" alt=\"setting roles and capabilities in wordpress\" class=\"wp-image-25255\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles.png","alt":"setting roles and capabilities in wordpress","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wp-user-roles-1024x228.png","linkDestination":"media"},"style":{"width":1024,"height":228,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">A WordPress capability is a task that a user can perform. Capabilities are hidden in WordPress and operate based on the roles they\u2019re attached to. They include operations such as edit a post, add a page, or delete a user.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">A WordPress capability is a task that a user can perform. Capabilities are hidden in WordPress and operate based on the roles they\u2019re attached to. They include operations such as edit a post, add a page, or delete a user.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Although many membership site owners <a href=\"https:\/\/memberpress.com\/docs\/rules-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">protect content based on membership<\/a>, there may be instances where you want to protect it based on WordPress roles or capabilities instead. For example:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Although many membership site owners <a href=\"https:\/\/memberpress.com\/docs\/rules-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\">protect content based on membership<\/a>, there may be instances where you want to protect it based on WordPress roles or capabilities instead. For example:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/list","render":"<ul class=\"wp-block-list\"><li>A third-party plugin may automatically create additional WordPress roles for which you\u2019d like to grant specific access. <\/li><li>All users with the capability to edit posts might need access to a page with confidential or proprietary information.<\/li><\/ul>","content":"<ul class=\"wp-block-list\"><li>Un plugin de terceros puede crear autom\u00e1ticamente funciones adicionales de WordPress para las que desee conceder un acceso espec\u00edfico. <\/li><li>Es posible que todos los usuarios con capacidad para editar entradas necesiten acceder a una p\u00e1gina con informaci\u00f3n confidencial o privada.<\/li><\/ul>","data":{"listType":"unordered"},"style":{"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">With the MemberPress Rules function, you can easily protect any content on your site using the parameters that make the most sense for the situation.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">With the MemberPress Rules function, you can easily protect any content on your site using the parameters that make the most sense for the situation.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">How to Protect Content Based on Roles and Capabilities with MemberPress (2 Methods)<\/h2>","content":"C\u00f3mo proteger contenidos en funci\u00f3n de funciones y capacidades con MemberPress (2 m\u00e9todos)","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">In most circumstances, you\u2019ll protect your site content based on membership designation. However, if you do find it necessary to protect content based on roles or capabilities, MemberPress gives you the flexibility to do so. Here\u2019s how.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">In most circumstances, you\u2019ll protect your site content based on membership designation. However, if you do find it necessary to protect content based on roles or capabilities, MemberPress gives you the flexibility to do so. Here\u2019s how.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Method 1: Protect Content Based on a Role<\/h3>","content":"M\u00e9todo 1: Proteger contenidos en funci\u00f3n de un rol","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">If you haven\u2019t already done so, create the content you want to protect.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">If you haven\u2019t already done so, create the content you want to protect.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Next, from your WordPress dashboard, go to <em>MemberPress<\/em> &gt; <em>Rules &gt; Add New<\/em>:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Next, from your WordPress dashboard, go to <em>MemberPress<\/em> &gt; <em>Rules &gt; Add New<\/em>:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png\" alt=\"Screenshot of MemberPress admin dashboard\" class=\"wp-image-25248\"\/><\/a><\/figure><\/div>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules.png","alt":"Screenshot of MemberPress admin dashboard","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-1024x569.png","linkDestination":"media","align":"center"},"style":{"width":1024,"height":569,"align":"center","parent_style":{},"sizeSlug":"large","alignSelf":"center"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Under <em>Protected Content<\/em>, select the post or page you want to protect. In the <em>Access Conditions<\/em> menu, select <em>Role<\/em>: <\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Under <em>Protected Content<\/em>, select the post or page you want to protect. In the <em>Access Conditions<\/em> menu, select <em>Role<\/em>: <\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png\" alt=\"Screenshot of MemberPress admin - Rules options.\" class=\"wp-image-25249\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select.png","alt":"Screenshot of MemberPress admin - Rules options.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-select-1024x389.png","linkDestination":"media"},"style":{"width":1024,"height":389,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Once you do, a dropdown menu will appear to the right. From it, select the specific role you want to allow access to:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Once you do, a dropdown menu will appear to the right. From it, select the specific role you want to allow access to:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png\" alt=\"Screenshot of MemberPress admin - Rules option selected: Editor.\" class=\"wp-image-25250\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles.png","alt":"Screenshot of MemberPress admin - Rules option selected: Editor.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-roles-1024x388.png","linkDestination":"media"},"style":{"width":1024,"height":388,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">If you have third-party plugins that automatically create WordPress roles, you'll notice these are listed here in addition to the default WordPress roles of Administrator, Editor, Author, Contributor, and Subscriber.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">If you have third-party plugins that automatically create WordPress roles, you'll notice these are listed here in addition to the default WordPress roles of Administrator, Editor, Author, Contributor, and Subscriber.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">For example, <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> adds the roles of Customer and Shop Manager to WordPress. If you wanted to create content and make it visible only to those who have purchased products from you, you could use a role-based rule to do so.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">For example, <a href=\"https:\/\/wordpress.org\/plugins\/woocommerce\/\" target=\"_blank\" rel=\"noreferrer noopener\">WooCommerce<\/a> adds the roles of Customer and Shop Manager to WordPress. If you wanted to create content and make it visible only to those who have purchased products from you, you could use a role-based rule to do so.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">You can also add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>. This gives you the ability to completely customize your permissions.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">You can also add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>. This gives you the ability to completely customize your permissions.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h3 class=\"wp-block-heading\">Method 2: Restrict Content Based on a Capability<\/h3>","content":"M\u00e9todo 2: Restringir contenidos en funci\u00f3n de una capacidad","data":[],"style":{"align":"left","parent_style":{},"header":"h3","fontSize":"21px"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Create the content you want to protect, then go to <em>MemberPress<\/em> &gt; <em>Rules &gt;<\/em> <em>Add New<\/em> as we described above. <\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Create the content you want to protect, then go to <em>MemberPress<\/em> &gt; <em>Rules &gt;<\/em> <em>Add New<\/em> as we described above. <\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Under <em>Protected Content<\/em>, select the content you want to protect. Go to <em>Access Conditions<\/em> and select <em>Capabilities<\/em>:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Under <em>Protected Content<\/em>, select the content you want to protect. Go to <em>Access Conditions<\/em> and select <em>Capabilities<\/em>:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png\" alt=\"Screenshot of MemberPress admin - Capabilities options.\" class=\"wp-image-25251\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select.png","alt":"Screenshot of MemberPress admin - Capabilities options.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-select-1024x387.png","linkDestination":"media"},"style":{"width":1024,"height":387,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">In the field that appears to the right, type the function for the capability you want to grant access to. Any user with that capability will be allowed to access the content:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">In the field that appears to the right, type the function for the capability you want to grant access to. Any user with that capability will be allowed to access the content:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png\" alt=\"Screenshot of MemberPress admin - Capabilities option entered: edit_posts.\" class=\"wp-image-25252\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities.png","alt":"Screenshot of MemberPress admin - Capabilities option entered: edit_posts.","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/memberpress-rules-capabilities-1024x552.png","linkDestination":"media"},"style":{"width":1024,"height":552,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">You can find a list of default capability functions in the <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/#capabilities\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Codex<\/a>. To create a rule based on capabilities, you must type the capability name in the same format as it is listed in the WordPress Codex:<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">You can find a list of default capability functions in the <a href=\"https:\/\/wordpress.org\/support\/article\/roles-and-capabilities\/#capabilities\" target=\"_blank\" rel=\"noreferrer noopener\">WordPress Codex<\/a>. To create a rule based on capabilities, you must type the capability name in the same format as it is listed in the WordPress Codex:<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/image","render":"<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png\"><img src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png\" alt=\"wordpress codex screenshot\" class=\"wp-image-25253\"\/><\/a><\/figure>","content":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png","data":{"linkSrc":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities.png","alt":"wordpress codex screenshot","src":"https:\/\/memberpress.com\/wp-content\/uploads\/2021\/01\/wordpress-codex-author-capabilities-1024x495.png","linkDestination":"media"},"style":{"width":1024,"height":495,"align":"left","parent_style":{},"sizeSlug":"large"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">You can add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">You can add additional rules to any piece of content by selecting the <em>Plus<\/em> (+) icon under <em>Access Conditions<\/em>.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/heading","render":"<h2 class=\"wp-block-heading\">Conclusion<\/h2>","content":"Conclusi\u00f3n","data":[],"style":{"align":"left","parent_style":{},"header":"h2","fontSize":"27px"}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Generally, you'll protect content on your membership website based on membership tiers. However, there may be instances where it\u2019s helpful to protect content based on a WordPress role or capability. <\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Generally, you'll protect content on your membership website based on membership tiers. However, there may be instances where it\u2019s helpful to protect content based on a WordPress role or capability. <\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\"><a href=\"https:\/\/memberpress.com\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> gives you the flexibility and freedom to create these rules and control your content in the way that makes the most sense for your site.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\"><a href=\"https:\/\/memberpress.com\" target=\"_blank\" rel=\"noreferrer noopener\">MemberPress<\/a> gives you the flexibility and freedom to create these rules and control your content in the way that makes the most sense for your site.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">In this article, we discussed the Roles and Capabilities rules feature of MemberPress. We shared a few reasons you may want to use these options, and showed you how to add these rules in a few simple steps.<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">In this article, we discussed the Roles and Capabilities rules feature of MemberPress. We shared a few reasons you may want to use these options, and showed you how to add these rules in a few simple steps.<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\">Do you have any questions about protecting your content based on roles or capabilities? Let us know in the comments section below!<\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\">Do you have any questions about protecting your content based on roles or capabilities? Let us know in the comments section below!<\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}},{"type":"core\/paragraph","render":"<p class=\"wp-block-paragraph\"><strong>If you liked this article, be sure to follow us on <a href=\"https:\/\/www.facebook.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Facebook<\/a>, <a href=\"https:\/\/twitter.com\/memberpress\" rel=\"noreferrer noopener\" target=\"_blank\">Twitter<\/a>, <a href=\"https:\/\/www.instagram.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Instagram<\/a>, and <a href=\"https:\/\/www.linkedin.com\/showcase\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">LinkedIn<\/a>!<\/strong><\/p>","content":[{"type":"text","data":"<p class=\"wp-block-paragraph\"><strong>If you liked this article, be sure to follow us on <a href=\"https:\/\/www.facebook.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Facebook<\/a>, <a href=\"https:\/\/twitter.com\/memberpress\" rel=\"noreferrer noopener\" target=\"_blank\">Twitter<\/a>, <a href=\"https:\/\/www.instagram.com\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">Instagram<\/a>, and <a href=\"https:\/\/www.linkedin.com\/showcase\/memberpress\/\" rel=\"noreferrer noopener\" target=\"_blank\">LinkedIn<\/a>!<\/strong><\/p>"}],"data":[],"style":{"textAlign":"left","color":"","dropCap":false,"parent_style":{}}}],"app_access":{"can_access":true,"restrict_message":null},"_links":{"self":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/posts\/25247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/users\/76756"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/comments?post=25247"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/posts\/25247\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/media\/25454"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/media?parent=25247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/categories?post=25247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/memberpress.com\/es\/wp-json\/wp\/v2\/tags?post=25247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}