{"id":61381,"date":"2024-02-13T07:22:56","date_gmt":"2024-02-13T12:22:56","guid":{"rendered":"https:\/\/memberpress.com\/docs\/protecting-widgets\/"},"modified":"2024-02-28T10:28:14","modified_gmt":"2024-02-28T15:28:14","slug":"protecting-widgets","status":"publish","type":"ht_kb","link":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/","title":{"rendered":"Widgets sch\u00fctzen"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Wenn Sie bestimmte Widgets ein- oder ausblenden m\u00f6chten, je nachdem, was das aktuell eingeloggte Mitglied gekauft hat, dann f\u00fchren Sie die folgenden Schritte aus.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schritt 1<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Downloaden und installieren Sie die <a href=\"https:\/\/wordpress.org\/plugins\/widget-options\/\" target=\"_blank\" rel=\"noopener\" title=\"Widget Logic herunterladen\">Widget-Optionen<\/a> Plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schritt 2<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Widget-Optionen f\u00fcgt am unteren Rand jedes Widgets einige Optionen zur Einschr\u00e4nkung hinzu:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-uje5YajsS1.png\" alt=\"\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Schritt 3<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Set up a Rule for the widget and set the Rule type to \u201cPartial\u201d \u2013 then click on the \u201cPartial Content Codes\u201d link to display the PHP snippet you\u2019ll need to use for Widget Options. Widget Options only wants the part including current_user_can(). So for the screenshot below, you would copy ONLY the following part:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>current_user_can('mepr-active','rules:1165')<\/strong><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-XV77o7O3vr.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Anmerkung:<\/strong> if you don\u2019t want to create a rule, you can use <strong>current_user_can(\u2018mepr-active\u2019,\u2019membership:123\u2032)<\/strong> in Schritt 4, wobei 123 die eindeutige Mitgliedsnummer ist. Wenn Sie mehr \u00fcber die Vorgehensweise erfahren m\u00f6chten, klicken Sie auf <a href=\"http:\/\/docs.memberpress.com\/article\/154-advanced-rule-features\" target=\"_blank\" rel=\"noreferrer noopener\">hier<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schritt 4<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Suchen Sie das\/die Widget(s), das\/die Sie vor nicht autorisierten Mitgliedern verbergen m\u00f6chten, und klicken Sie auf das kleine Zahnrad in der Liste der Einstellungen f\u00fcr Widget-Optionen. Klicken Sie auf das<br><strong>Logik <\/strong>und f\u00fcgen Sie den kopierten Code aus Schritt 3 ein:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-amBzviUzCW.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong style=\"background-color: initial;\">Anmerkung:<\/strong> Jede Regel hat eine eindeutige ID (1165 im obigen Beispiel). Achten Sie also darauf, dass die ID korrekt ist, wenn Sie den Code f\u00fcr den Teilinhalt in die Widget-Optionen Ihrer Widgets einf\u00fcgen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Schritt 5<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Speichern Sie das Widget. Es wird nun f\u00fcr Mitglieder, die keinen Zugang haben, ausgeblendet.<\/p>","protected":false},"excerpt":{"rendered":"<p>If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget [\u2026]<\/p>\n","protected":false},"author":62252,"comment_status":"open","ping_status":"closed","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","footnotes":""},"ht-kb-category":[1322],"ht-kb-tag":[],"class_list":["post-61381","ht_kb","type-ht_kb","status-publish","format-standard","ht_kb_category-protecting-content","entry","has-post-thumbnail"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 5.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikola M\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"de_DE\" \/>\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=\"Protecting Widgets | MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1650\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-02-13T12:22:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-02-28T15:28:14+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=\"Protecting Widgets | MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#article\",\"name\":\"Protecting Widgets | MemberPress\",\"headline\":\"Protecting Widgets\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/file-uje5YajsS1.png\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#articleImage\",\"width\":422,\"height\":563},\"datePublished\":\"2024-02-13T07:22:56-05:00\",\"dateModified\":\"2024-02-28T10:28:14-05:00\",\"inLanguage\":\"de-DE\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#webpage\"},\"articleSection\":\"Protecting Content\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/general\\\/#listItem\",\"position\":2,\"name\":\"General\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/protecting-content\\\/#listItem\",\"name\":\"Protecting Content\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/protecting-content\\\/#listItem\",\"position\":3,\"name\":\"Protecting Content\",\"item\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/protecting-content\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#listItem\",\"name\":\"Protecting Widgets\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/general\\\/#listItem\",\"name\":\"General\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#listItem\",\"position\":4,\"name\":\"Protecting Widgets\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/doc-categories\\\/protecting-content\\\/#listItem\",\"name\":\"Protecting Content\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#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\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola M\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#authorImage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1787237640\",\"width\":96,\"height\":96,\"caption\":\"Nikola M\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/\",\"name\":\"Protecting Widgets | MemberPress\",\"description\":\"If you want to show\\\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget\",\"inLanguage\":\"de-DE\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/docs\\\/protecting-widgets\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2024-02-13T07:22:56-05:00\",\"dateModified\":\"2024-02-28T10:28:14-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/de\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"de-DE\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/de\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Protecting Widgets | MemberPress<\/title>\n\n","aioseo_head_json":{"title":"Widgets sch\u00fctzen | MemberPress","description":"Wenn Sie bestimmte Widgets ein- oder ausblenden m\u00f6chten, je nachdem, was das aktuell eingeloggte Mitglied gekauft hat, dann f\u00fchren Sie die folgenden Schritte aus. Schritt 1 Downloaden und installieren Sie das Widget Options Plugin. Schritt 2 Widget Options f\u00fcgt am unteren Rand jedes Widgets einige Optionen zur Einschr\u00e4nkung hinzu: Schritt 3 Richten Sie eine Regel f\u00fcr das Widget ein","canonical_url":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#article","name":"Protecting Widgets | MemberPress","headline":"Protecting Widgets","author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-uje5YajsS1.png","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#articleImage","width":422,"height":563},"datePublished":"2024-02-13T07:22:56-05:00","dateModified":"2024-02-28T10:28:14-05:00","inLanguage":"de-DE","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#webpage"},"articleSection":"Protecting Content"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/de","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/general\/#listItem","position":2,"name":"General","item":"https:\/\/memberpress.com\/de\/doc-categories\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/protecting-content\/#listItem","name":"Protecting Content"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/protecting-content\/#listItem","position":3,"name":"Protecting Content","item":"https:\/\/memberpress.com\/de\/doc-categories\/protecting-content\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#listItem","name":"Protecting Widgets"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/general\/#listItem","name":"General"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#listItem","position":4,"name":"Protecting Widgets","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/de\/doc-categories\/protecting-content\/#listItem","name":"Protecting Content"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/de\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/de\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#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\/de\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/","name":"Nikola M","image":{"@type":"ImageObject","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#authorImage","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1787237640","width":96,"height":96,"caption":"Nikola M"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#webpage","url":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/","name":"Protecting Widgets | MemberPress","description":"If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget","inLanguage":"de-DE","isPartOf":{"@id":"https:\/\/memberpress.com\/de\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/de\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2024-02-13T07:22:56-05:00","dateModified":"2024-02-28T10:28:14-05:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/de\/#website","url":"https:\/\/memberpress.com\/de\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"de-DE","publisher":{"@id":"https:\/\/memberpress.com\/de\/#organization"}}]},"og:locale":"de_DE","og:site_name":"MemberPress","og:type":"article","og:title":"Protecting Widgets | MemberPress","og:description":"If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget","og:url":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:width":1650,"og:image:height":1275,"article:published_time":"2024-02-13T12:22:56+00:00","article:modified_time":"2024-02-28T15:28:14+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"Protecting Widgets | MemberPress","twitter:description":"If you want to show\/hide certain widgets depending on what the currently logged-in member has purchased, then follow the steps below. Step 1 Download and install the Widget Options plugin. Step 2 Widget Options adds some restriction options to the bottom of every widget like this: Step 3 Set up a Rule for the widget","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg"},"aioseo_meta_data":{"post_id":"61381","title":null,"description":null,"keywords":null,"keyphrases":null,"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":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"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":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"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":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-08-21 01:05:41","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"open_ai":null,"ai":null,"created":"2024-02-13 12:22:57","updated":"2026-08-21 01:05:41","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/doc-categories\/general\/\" title=\"General\">General<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/de\/doc-categories\/protecting-content\/\" title=\"Protecting Content\">Protecting Content<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tProtecting Widgets\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/de"},{"label":"General","link":"https:\/\/memberpress.com\/de\/doc-categories\/general\/"},{"label":"Protecting Content","link":"https:\/\/memberpress.com\/de\/doc-categories\/protecting-content\/"},{"label":"Protecting Widgets","link":"https:\/\/memberpress.com\/de\/docs\/protecting-widgets\/"}],"_links":{"self":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb\/61381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/users\/62252"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/comments?post=61381"}],"version-history":[{"count":0,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb\/61381\/revisions"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/media?parent=61381"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb-category?post=61381"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/memberpress.com\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=61381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}