{"id":5977,"date":"2022-09-28T11:11:05","date_gmt":"2022-09-28T08:11:05","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=5977"},"modified":"2024-04-29T18:41:13","modified_gmt":"2024-04-29T15:41:13","slug":"account","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/header-elements\/account\/","title":{"rendered":"Account"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d17e5ad83fe&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d17e5ad83fe\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2023-05-10-at-19.32.43-2.png\" alt=\"\" class=\"wp-image-7073\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\"><strong>Account <\/strong>element in action<\/figcaption><\/figure>\n\n\n\n<p>The account element from Blocksy&#8217;s header builder helps your users login and register with your website, in a clean and easy to use fashion. The element has multiple configuration options, which we&#8217;ll check out in detail below.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<p>With the account element, you&#8217;ll have two different states to configure &#8212; when the user is logged in and when they&#8217;re not. You&#8217;ll get different options for each state. Let&#8217;s note them down!<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Logged in state<\/h5>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d17e5ad94cf&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d17e5ad94cf\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2023-05-10-at-19.43.24.png\" alt=\"\" class=\"wp-image-7075\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Account element &#8211; logged in state options<\/figcaption><\/figure>\n\n\n\n<p>When the user is logged in, the account element transforms into a quick link or a drop down menu. These let you direct the user to the relevant parts of the website, such as the account page from WooCommerce, the WordPress user profile dashboard, a custom link or even log them out with a single tap.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2023-05-10-at-19.44.29.png\" alt=\"\" class=\"wp-image-7078\" \/><figcaption class=\"wp-element-caption\">Logged in account actions<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<h5 class=\"wp-block-heading\">Account Action<\/h5>\n\n\n\n<h6 class=\"wp-block-heading\">Dropdown<\/h6>\n\n\n\n<p>This is a new option that lets you show a drop down of common account actions when the user hovers over the account element. There can be multiple actions, such as custom links, user information and avatar and a logout option to gracefully let the user leave the site.<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">Link<\/h6>\n\n\n\n<p>This one turns the account element into a direct link to one of the following places.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Profile page<\/strong> &#8211; redirects the user to their profile page inside the WordPress dashboard.<\/li>\n\n\n\n<li><strong>Dashboard page<\/strong> &#8211; redirects the user to the home of the WordPress dashboard.<\/li>\n\n\n\n<li><strong>Custom link<\/strong> &#8211; redirects the user to whatever page you might want.<\/li>\n\n\n\n<li><strong>Logout<\/strong> &#8211; one click logout functionality.<\/li>\n\n\n\n<li><strong>WooCommerce account<\/strong> &#8211; redirects the user to the built in WooCommerce account page.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">Account Image<\/h5>\n\n\n\n<p>The account image options let you select what kind of visual representation you&#8217;d like for the element inside the header. You can easily display the user&#8217;s <strong>avatar<\/strong> image, a gorgeous <strong>icon<\/strong> from our library or simply <strong>not display anything<\/strong> at all &#8212; useful in case you show the element <strong>label<\/strong> text.<\/p>\n\n\n\n<p>There&#8217;s also a handy option that lets you set the <strong>size<\/strong> of this icon.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Label Visibility<\/h5>\n\n\n\n<p>This option lets you show the <strong>text label<\/strong> of the element on a per device basis.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">User Visibility<\/h5>\n\n\n\n<p>This option lets you hide the account element on a user-state basis. For example, you can hide the element if the user is logged in, to streamline the experience.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Logged out state<\/h5>\n\n\n\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d17e5ada3b7&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d17e5ada3b7\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2023-05-10-at-19.42.37.png\" alt=\"\" class=\"wp-image-7077\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">Account element &#8211; logged out state options<\/figcaption><\/figure>\n\n\n\n<p>When the user is logged out, you get a different set of options to configure for the account element. This is because the logged out user won&#8217;t be able to access the parts from the logged in state.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/09\/Screenshot-2023-05-10-at-19.44.45.png\" alt=\"\" class=\"wp-image-7079\" \/><figcaption class=\"wp-element-caption\">Logged out account actions<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<h5 class=\"wp-block-heading\">Account Action<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Modal<\/strong> &#8211; this displays a very nice pop-up window that let&#8217;s you quickly get into the site.<\/li>\n\n\n\n<li><strong>Custom link<\/strong> &#8211; redirects the user to whatever page you might want.<\/li>\n\n\n\n<li><strong>WooCommerce account<\/strong> &#8211; redirects the user to the built in WooCommerce account page.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">Account Image<\/h5>\n\n\n\n<p>The account image options let you select what kind of visual representation you&#8217;d like for the element inside the header. You can easily display a gorgeous <strong>icon<\/strong> from our library or simply <strong>not display anything<\/strong> at all &#8212; useful in case you show the element <strong>label<\/strong> text.<\/p>\n\n\n\n<p>There&#8217;s also a handy option that lets you set the <strong>size<\/strong> of this icon.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Label Visibility<\/h5>\n\n\n\n<p>This option lets you show the <strong>text label<\/strong> of the element on a per device basis.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">User Visibility<\/h5>\n\n\n\n<p>This option lets you hide the account element on a user-state basis. For example, you can hide the element if the user is logged in, to streamline the experience.<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"blocksy-pro-enhancements\">Blocksy Pro Enhancements<\/h2>\n\n\n\n<p>If you&#8217;re a member of the Blocksy Pro package, you get some nice enhancements that go along with the account modal view, when logged out. For example, you get integration with the WooCommerce account registering behaviour, such as modifying the register modal tab to include a custom-picked username, or a custom password.<\/p>\n\n\n\n<p>There are also some very nice integrations with some third party plugins, that can bring additional functionality to the website, such as anti spam protection using captcha, or letting your users login or register using their social networks accounts. These integrations are momentarily hand-picked:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/plugins\/advanced-nocaptcha-recaptcha\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Advanced noCaptcha &amp; invisible Captcha (v2 &amp; v3)<\/a> plugin.<\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/login-recaptcha\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Login No Captcha reCAPTCHA<\/a> plugin.<\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/nextend-facebook-connect\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Nextend Social Login and Register<\/a> plugin.<\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/wordfence-login-security\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Wordfence Login Security<\/a> plugin (and its 2FA feature).<\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/simple-cloudflare-turnstile\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/wordpress.org\/plugins\/simple-cloudflare-turnstile\/\" rel=\"noreferrer noopener nofollow\">Simple Cloudflare Turnstile<\/a> plugin.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Video Resources<\/h2>\n\n\n\n<p>Explore additional resources via our video tutorials page.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/advanced-tutorials\/diving-deeper-with-the-account-header-element\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/advanced-tutorials\/diving-deeper-with-the-account-header-element\/\" rel=\"noreferrer noopener\"><strong>Diving Deeper with the Account Element<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/shorts\/the-account-element\/\" target=\"_blank\" data-type=\"link\" data-id=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/shorts\/the-account-element\/\" rel=\"noreferrer noopener\">#SHORT The Account Element<\/a><\/strong><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The account element from Blocksy&#8217;s header builder helps your users login and register with your website, in a clean and easy to use fashion. The element has multiple configuration options, which we&#8217;ll check out in detail below. Granular Controls With the account element, you&#8217;ll have two different states to configure &#8212; when the user is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[124],"class_list":["post-5977","documentation","type-documentation","status-publish","hentry","doc_categories-header-elements"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6},"docs_item_badge":""},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/5977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=5977"}],"version-history":[{"count":8,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/5977\/revisions"}],"predecessor-version":[{"id":10441,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/5977\/revisions\/10441"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=5977"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=5977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}