{"id":5734,"date":"2017-06-04T16:19:55","date_gmt":"2017-06-04T23:19:55","guid":{"rendered":"http:\/\/digitalaccesspass.com\/doc\/?p=5734"},"modified":"2017-06-04T21:13:51","modified_gmt":"2017-06-05T04:13:51","slug":"dap-login-form","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/dap-login-form\/","title":{"rendered":"How to setup your Member Login Page"},"content":{"rendered":"<h3><strong>STEP 1:\u00a0\u00a0 Add a new page in WordPress. <\/strong><\/h3>\n<p>Say you call it <strong>Login<\/strong>.<\/p>\n<h3><strong>STEP 2:\u00a0\u00a0You&#8217;ll find a &#8220;DAP Member Pages&#8221; button on the page.<\/strong><\/h3>\n<p>Click on it to get started.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/digitalaccesspass.com\/documentation\/images\/dapmemberpages.png\" alt=\"\" width=\"639\" height=\"231\" \/><\/p>\n<h3><\/h3>\n<h3>STEP 3:\u00a0 Select Member Login and click on Next<\/h3>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/digitalaccesspass.com\/documentation\/images\/login1.png\" alt=\"\" width=\"622\" height=\"482\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>STEP 4:\u00a0 Generate Login Shortcode<\/h3>\n<p>When you select &#8220;Member Login&#8221; option and click on the Next button, it&#8217;ll bring up a login shortcode generator.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/digitalaccesspass.com\/documentation\/images\/selectlogintemp.png\" alt=\"\" width=\"529\" height=\"555\" \/><\/p>\n<h2>Configure Post-Login URL<\/h2>\n<p>If you configure a post-login URL, DAP will redirect users to that page upon login.<\/p>\n<p>For e.g.<\/p>\n<p><code>[DAPLoginForm template=\"template2\" redirect=\"\/mylandingpage\"]<\/code><\/p>\n<p>(DAP will redirect users to \/mylandpage when they login.)<\/p>\n<p>If you don&#8217;t set a shortcode level redirect, DAP will use the post-login redirect URL set in DAP setup &gt;&gt; config page or in the DAP products page.<\/p>\n<h2><strong>Select a Page or Sidebar login template.\u00a0<\/strong><\/h2>\n<p><strong>Here are the available Page Login Templates:<br \/>\n<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"http:\/\/digitalaccesspass.com\/documentation\/images\/logintemplates.png\" alt=\"\" width=\"812\" height=\"759\" \/><\/p>\n<h3><strong>Here are the available Sidebar Login Templates: <\/strong><\/h3>\n<p><strong>SIDEBAR TEMPLATE 1\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 SIDEBAR TEMPLATE 2:<\/strong><\/p>\n<p><img loading=\"lazy\" class=\"alignleft\" src=\"http:\/\/digitalaccesspass.com\/documentation\/images\/sidebar1.png\" alt=\"\" width=\"240\" height=\"280\" \/><strong><img loading=\"lazy\" class=\"alignleft\" src=\"http:\/\/digitalaccesspass.com\/documentation\/images\/sidebar2.png\" alt=\"\" width=\"255\" height=\"291\" \/><br \/>\n<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h2>Old Shortcode: %%LOGIN_FORM%%<\/h2>\n<p>The new shortcode is a replacement for the old <strong>%%LOGIN_FORM%%<\/strong> shortcode. Simply upgrading LiveLinks on your site will not automatically install the new shortcode or login template.<\/p>\n<p><strong>You must replace the old shortcode<\/strong> &#8211; %%LOGIN_FORM%% &#8211; with the new one, in order to see the new login templates in action.<\/p>\n<p>The old shortcode will still be valid, and your old login form will still work even after you upgrade DAP.<\/p>\n<p>If you need to switch back to the old code at any time, it will still work just fine. But replace it with the new shortcode as the new templates are mobile-responsive.<\/p>\n<p>&nbsp;<\/p>\n<h2>Multiple Login Pages<\/h2>\n<p>Due to the new feature of setting a post-login URL right in the shortcode itself (via the redirect tag), you can now have multiple login pages on different parts of your web site. If you don&#8217;t specify a redirect tag, then the default post-login rules will apply. However, you can now override the default rules for specific login forms on specific pages, using the new shortcode. This is especially useful if you have a content hub where you have multiple WordPress installations on the same domain, for different niches (or different sub-niches).<\/p>\n<h2>Page &amp; Sidebar Templates<\/h2>\n<p>We are releasing\u00a0 <strong>5 <\/strong>pre-built login page templates and <strong>2<\/strong> sidebar templates. See video above for demo of all 7 templates.<\/p>\n<h4><strong>5 PAGE TEMPLATES<\/strong><\/h4>\n<h4><strong>You can use template1, template2, template3, template4 or template5\u00a0 in the shortcode.<\/strong><\/h4>\n<h4><strong>2 SIDEBAR TEMPLA<\/strong><strong>TES<\/strong><\/h4>\n<p><code><\/code><code>[DAPLoginForm template=\"sidebar1\"]\n[DAPLoginForm template=\"sidebar2\"]<\/code><\/p>\n<h2>Login Widget<\/h2>\n<p>To have the DAP login form show up in your web site&#8217;s sidebar, simply add the sidebar template shortcode to a <strong>text widget<\/strong> and add the widget to your sidebar.<\/p>\n<p><code>[DAPLoginForm template=\"sidebar1\"]<\/code><\/p>\n<p>OR<\/p>\n<p><code>[DAPLoginForm template=\"sidebar2\"]<\/code><\/p>\n<h2><strong>Login Form Customization Options<\/strong><\/h2>\n<p>You will find the login template files under the <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates\/<\/strong> folder.<\/p>\n<p><strong>Updating the Templates:<\/strong><\/p>\n<p>Say you are using <strong>template1<\/strong> and want to update the HTML of that template.<\/p>\n<p>Just make a copy of <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates\/template1\/<span style=\"color: #ff0000;\">template1.html<\/span><\/strong> to <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates\/template1\/<span style=\"color: #ff0000;\">customtemplate1.html<\/span><\/strong>.<\/p>\n<p>Make the updates to the custom HTML file and upload back to the <strong>template1<\/strong> folder. Do not remove any merge tags from the template.<\/p>\n<p><strong>Updating the CSS:<\/strong><\/p>\n<p>To update the CSS of a template, make a copy of <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates\/template1\/<span style=\"color: #ff0000;\">style.css<\/span><\/strong> to <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates\/template1\/<span style=\"color: #ff0000;\">customstyle.css<\/span><\/strong>.<\/p>\n<p>Make the updates to the custom CSS file and upload back to the <strong>template1<\/strong> folder.<\/p>\n<p><strong>Login Form Width:<\/strong><\/p>\n<p>If you wish to change the login form&#8217;s width, you can update it in the <strong>style.css<\/strong> (look for\u00a0<strong> width: 400px<\/strong> in style.css). Of course, don&#8217;t change the default file, as it will be overwritten in a future release. So always make a custom copy of your own, and make the changes to that file.<\/p>\n<h2>Bring Your Own Template<\/h2>\n<p>You will probably not have a need to create your own template as there are 7 responsive pre-built templates that you can cust0mize, but if you want to create one, please follow these steps.<\/p>\n<p>Create a new template under <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates<\/strong>.<\/p>\n<p>Say you call it &#8216;<strong>mytemplate<\/strong>&#8216;.<\/p>\n<p>Then copy over the <strong>style.css<\/strong> and <strong>template1.html<\/strong> from <strong>template1<\/strong> folder to this <strong>mytemplate<\/strong> folder.<\/p>\n<p>Rename <strong>template1.html<\/strong> to\u00a0 <strong>mytemplate.html<\/strong>.\u00a0 Leave the name <strong>style.css<\/strong> as is.<\/p>\n<p>Now make the updates to <strong>mytemplate.html<\/strong> and <strong>style.css<\/strong> and upload the <strong>mytemplate<\/strong> folder (and the files under it) to <strong>\/wp-content\/plugins\/DAP-WP-LiveLinks\/includes\/login\/templates\/<\/strong> folder.<\/p>\n<p>Now you can reference this template in the shortcode:<\/p>\n<p><code>[DAPLoginForm template=\"mytemplate\"]<\/code><\/p>\n<p>That&#8217;s it.<\/p>\n<h2><\/h2>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>STEP 1:\u00a0\u00a0 Add a new page in WordPress. Say you call it Login. STEP 2:\u00a0\u00a0You&#8217;ll find a &#8220;DAP Member Pages&#8221; button on the page. Click on it to get started. STEP 3:\u00a0 Select Member Login and click on Next &nbsp; STEP 4:\u00a0 Generate Login Shortcode When you select &#8220;Member Login&#8221; option and click on the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[20],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/5734"}],"collection":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=5734"}],"version-history":[{"count":15,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/5734\/revisions"}],"predecessor-version":[{"id":5766,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/5734\/revisions\/5766"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=5734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=5734"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=5734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}