{"id":6300,"date":"2020-09-04T00:32:32","date_gmt":"2020-09-04T00:32:32","guid":{"rendered":"https:\/\/the7kennisbank.nl\/uncategorized\/menus-widgets-wp-brain\/"},"modified":"2020-09-04T00:55:56","modified_gmt":"2020-09-04T00:55:56","slug":"menus-widgets-wp-brain","status":"publish","type":"post","link":"https:\/\/the7kennisbank.nl\/en\/wp-brain\/menus-widgets-wp-brain\/","title":{"rendered":"Menus & Widgets \u2013 WP Brain"},"content":{"rendered":"

 <\/p>\n

After going through the list of available shortcodes that help you control the visibility of page content, we are we will see how you can use WP Brain to hide or show menu items based on your conditions.<\/p>\n

Let\u2019s take an example of membership website, where you want to hide \u2018My Account\u2019 page from the guests and show it to your website members. so just follow these steps to see how its easy to do it with WP Brain:<\/p>\n

    \n
  1. Create a new preset, to do that, just go to WP Brain > Settings<\/strong>, under the presets box, click the green \u201cAdd New\u201d button<\/li>\n
  2. Fill the inputs as shown in the following image and save the changes:\n
    \"wp-brain-example-preset-2\"<\/div>\n<\/li>\n
  3. Now you have that preset saved, go edit your menu items, and select the recently saved preset under the \u201cVisibility Preset\u201d drop-down\n
    \"wp-brain-example-menu-1\"<\/div>\n<\/li>\n
  4. Finally, save the menu and test it with and without login to be sure it works<\/li>\n<\/ol>\n

    The control of widgets visibility is almost the same process as menu items, all you need to do, is to create a preset or use the existing in widget you want:<\/p>\n

    \"wp-brain-example-widget-1\"<\/p>\n

    Then save the changes, and check if everything work as you wanted!<\/p>\n","protected":false},"excerpt":{"rendered":"

      After going through the list of available shortcodes that help you control the visibility of page content, we are we will see how you can use WP Brain to hide or show menu items based on your conditions. Let\u2019s take an example of membership website, where you want to hide \u2018My Account\u2019 page from…<\/p>\n","protected":false},"author":2,"featured_media":6335,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[58],"tags":[],"class_list":["post-6300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-brain","category-58","description-off"],"acf":[],"_links":{"self":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts\/6300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/comments?post=6300"}],"version-history":[{"count":3,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts\/6300\/revisions"}],"predecessor-version":[{"id":6364,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/posts\/6300\/revisions\/6364"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/media\/6335"}],"wp:attachment":[{"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/media?parent=6300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/categories?post=6300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/the7kennisbank.nl\/en\/wp-json\/wp\/v2\/tags?post=6300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}