{"id":6774,"date":"2019-02-21T14:01:54","date_gmt":"2019-02-21T14:01:54","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=6774"},"modified":"2023-04-14T14:31:08","modified_gmt":"2023-04-14T14:31:08","slug":"how-to-add-a-login-form-to-the-header","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/","title":{"rendered":"How to Add a Login Form to the Header"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>There are more and more websites where you can have plenty of opportunities as a registered user; that\u2019s why a login form is so important. With the help of the <a href=\"https:\/\/crocoblock.com\/widgets\/login-form\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Login Form<\/strong><\/a> widget, you can provide visitors with a way to enter information into a system in order to access more content. Usually, it consists of a field for the username and another one for the password.<\/p>\n\n\n\n<p>The most common place for such a form is in the header. With the help of the <strong>Login Form<\/strong> widget, you can easily add such a form in a few clicks.<\/p>\n\n\n\n<p>This tutorial will explain how to add a login form using the <a href=\"https:\/\/crocoblock.com\/plugins\/jetblocks\/\" target=\"_blank\" rel=\"noopener noreferrer\"><em>JetBlocks<\/em><\/a> plugin.<\/p>\n<\/div><\/div>\n\n\n\n<p>Log in to your <strong>WordPress Dashboard<\/strong>.<\/p>\n\n\n\n<p>To add a <strong>Login Form<\/strong> widget to the pre-built<strong> Header,x<\/strong> navigate to <em><strong>Crocoblock<\/strong> &gt; <strong>My Library<\/strong><\/em> and hit <strong>Edit with Elementor<\/strong> option to proceed with editing the needed header template.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Header-in-the-Crocoblock-library.png\" alt=\"Header in the Crocoblock library\">\n\n\n\n<p>In case if you want to change the header template, click the <strong>Magic Button<\/strong> option to open the templates library.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/magic-button-option.png\" alt=\"magic-button-option\"\/>\n\n\n\n<p> Click the <strong>Headers<\/strong> tab, choose the pre-designed header you like and then click the <strong>Insert<\/strong> button.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Headers-block-in-the-Magic-Button.png\" alt=\"Headers block in the Magic Button\">\n\n\n\n<p>After this, find the <strong>Login form<\/strong> widget in the <strong>Elements<\/strong> panel and drag it to the section where you want to place your login form.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/login-form-widget.png\" alt=\"login-form-widget\"\/>\n\n\n\n<p> After that, you will see a login form in your <strong>Header<\/strong> template.<\/p>\n\n\n\n<img decoding=\"async\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/content-settings-login-form.png\" alt=\"content-settings-login-form\">\n\n\n\n<p>There is a settings panel on the left. In the <strong>Content<\/strong> block, you can customize the content fields, such as <strong>Username Label<\/strong>, <strong>Password Label<\/strong>, <strong>Remember Me Label<\/strong>, <strong>Log In Button Label<\/strong>, <strong>Redirect After Login Label<\/strong>, <strong>Logged In Label <\/strong>or leave it as it is. Also, you can change the style of the <strong>Login Form<\/strong> widget.<\/p>\n\n\n\n<img src=https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Content-settings-in-Login-Form-widget.png\" alt=\"Content settings in Login Form widget\">\n\n\n\n<p> Afterward, click the <strong>Publish<\/strong> button. Also, you can click the <strong>Preview<\/strong> button in order to see what your new header looks like.<\/p>\n<\/div><\/div>\n\n\n\n<p>That\u2019s all you have to do to create a login form using the <em>JetBlocks<\/em> plugin. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial explains how to add a login form to the header built with Elementor. Make sure you\u2019ve installed the JetBlocks plugin to have access to its widgets.<\/p>\n","protected":false},"author":11,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[465],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Add a Login Form to the Header | Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to use a Login Form widget in header built with Elementor page builder. JetBlocks plugin functionality is compatible with Elementor Pro.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add a Login Form to the Header | Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to use a Login Form widget in header built with Elementor page builder. JetBlocks plugin functionality is compatible with Elementor Pro.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-14T14:31:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Header-in-the-Crocoblock-library.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/\",\"name\":\"How to Add a Login Form to the Header | Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2019-02-21T14:01:54+00:00\",\"dateModified\":\"2023-04-14T14:31:08+00:00\",\"description\":\"Learn how to use a Login Form widget in header built with Elementor page builder. JetBlocks plugin functionality is compatible with Elementor Pro.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Add a Login Form to the Header\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add a Login Form to the Header | Crocoblock","description":"Learn how to use a Login Form widget in header built with Elementor page builder. JetBlocks plugin functionality is compatible with Elementor Pro.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/","og_locale":"en_US","og_type":"article","og_title":"How to Add a Login Form to the Header | Crocoblock","og_description":"Learn how to use a Login Form widget in header built with Elementor page builder. JetBlocks plugin functionality is compatible with Elementor Pro.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/","og_site_name":"Help Center","article_modified_time":"2023-04-14T14:31:08+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2023\/02\/Header-in-the-Crocoblock-library.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/","url":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/","name":"How to Add a Login Form to the Header | Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2019-02-21T14:01:54+00:00","dateModified":"2023-04-14T14:31:08+00:00","description":"Learn how to use a Login Form widget in header built with Elementor page builder. JetBlocks plugin functionality is compatible with Elementor Pro.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/jetblocks\/how-to-add-a-login-form-to-the-header\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Add a Login Form to the Header"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/6774"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/11"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=6774"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=6774"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=6774"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}