{"id":46,"date":"2021-02-23T17:52:43","date_gmt":"2021-02-23T17:52:43","guid":{"rendered":"https:\/\/documentation.userswp.io\/article\/uwp-login\/"},"modified":"2026-01-30T13:28:09","modified_gmt":"2026-01-30T13:28:09","slug":"uwp-login","status":"publish","type":"gd_place","link":"https:\/\/userswp.io\/documentation\/article\/core-widgets\/uwp-login\/","title":{"rendered":"UWP > Login"},"content":{"rendered":"<section class=\"alert alert-success dashed\">\n\t All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our <a href=\"https:\/\/userswp.io\/documentation\/article\/what-makes-userswp-widgets-special\/\">Super Duper Widgets<\/a>.<\/section>\n<p>\n\t The <strong>UWP &gt; Login<\/strong><strong>&nbsp;<\/strong>widget is used to display a login form.&nbsp;\n<\/p>\n<section class=\"alert alert-info\">\n <strong>UWP &gt; Login<\/strong> works in two ways &#8212; it can either display a login form, or if the user is already logged it, shows the current logged-in user&#8217;s avatar and display name along with profile links.&nbsp;<\/p>\n<\/section>\n<h2>Widget Options<\/h2>\n<h3>General <\/h3>\n<ul>\n<li><strong>Widget Title &#8211; <\/strong>Displays the title of the widget.&nbsp;<\/li>\n<li><strong>Form Title (<a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/hidden-advanced-settings\/\">A<\/a>) &#8211; <\/strong>Shows the title of the form.&nbsp;<\/li>\n<li><strong>Logged in Show&nbsp;(<a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/hidden-advanced-settings\/\">A<\/a>) &#8211; <\/strong>Choose the information to be displayed for currently logged-in user.&nbsp;<\/li>\n<li><strong>Redirect to (<a href=\"https:\/\/wpgeodirectory.com\/documentation\/article\/core-features\/hidden-advanced-settings\/\">A<\/a>) &#8211; <\/strong>Specify the URL to which the user should be redirected after logging in.&nbsp;<\/li>\n<\/ul>\n<h3>Design <\/h3>\n<ul>\n<li><strong>Design Style &#8211; <\/strong>You can choose the design style.&nbsp;<\/li>\n<li><strong>Extra Class &#8211; <\/strong>You can specify extra styling classes (optional).&nbsp;<\/li>\n<\/ul>\n<h3>Addons <\/h3>\n<ul>\n<li><strong>Disable GeoDirectory Links &#8211; <\/strong>Removes GeoDirectory-related links from the user dashboard.&nbsp;<\/li>\n<li><strong>Disable WP Invoicing Links &#8211; <\/strong>Hides WP Invoicing-related links from the user dashboard.&nbsp;<\/li>\n<\/ul>\n<h2>Example Output<\/h2>\n<p>\n\t Default output (login form):&nbsp;\n<\/p>\n<p>\n\t<img width=\"295\" height=\"325\" src=\"https:\/\/userswp.io\/documentation\/wp-content\/uploads\/2021\/02\/file-AEDzfaKXns-1.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" srcset=\"https:\/\/userswp.io\/documentation\/wp-content\/uploads\/2021\/02\/file-AEDzfaKXns-1.png 295w, https:\/\/userswp.io\/documentation\/wp-content\/uploads\/2021\/02\/file-AEDzfaKXns-1-272x300.png 272w\" sizes=\"auto, (max-width: 295px) 100vw, 295px\" \/>\n<\/p>\n<p>\n\t Output with current logged-in user:&nbsp;\n<\/p>\n<p>\n\t<img width=\"301\" height=\"291\" src=\"https:\/\/userswp.io\/documentation\/wp-content\/uploads\/2021\/02\/file-p72QG5MzL8-1.png\" class=\"attachment-large size-large\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All Widgets come as Widgets, Shortcodes or Blocks. Learn more about our Super Duper Widgets. The UWP &gt; Login&nbsp;widget is used to display a login form.&nbsp; UWP &gt; Login works in two ways &#8212; it can either display a login form, or if the user is already logged it, shows the current logged-in user&#8217;s avatar [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"article\/tags":[81,88,89],"article\/categories":[20,5],"class_list":["post-46","gd_place","type-gd_place","status-publish","hentry","gd_place_tags-userswp-widgets","gd_place_tags-login-form","gd_place_tags-login-widget","gd_placecategory-core-widgets","gd_placecategory-extensions-features"],"_links":{"self":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/46","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/types\/gd_place"}],"author":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/comments?post=46"}],"version-history":[{"count":0,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/46\/revisions"}],"wp:attachment":[{"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/media?parent=46"}],"wp:term":[{"taxonomy":"gd_place_tags","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/tags?post=46"},{"taxonomy":"gd_placecategory","embeddable":true,"href":"https:\/\/userswp.io\/documentation\/wp-json\/wp\/v2\/article\/categories?post=46"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}