{"id":48,"date":"2009-05-28T18:56:24","date_gmt":"2009-05-28T22:56:24","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=48"},"modified":"2014-08-04T07:02:11","modified_gmt":"2014-08-04T14:02:11","slug":"logout-link","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/logout-link\/","title":{"rendered":"Logout Link"},"content":{"rendered":"<h3>Login\/Logout Widget<\/h3>\n<p>If you are using the DAP Login\/Logout widget on your sidebar, then the login widget automatically turns in to a &#8220;Logout&#8221; button once a member has logged in. No separate link needed if you&#8217;re using this widget. <a href=\"http:\/\/www.digitalaccesspass.com\/doc\/loginlogout-widget\/\">Click here to read more about the Login\/Logout widget<\/a>.<\/p>\n<h3>Logout link in your Menu<\/h3>\n<p>If you have a custom menu (<strong>WP Admin &gt; Appearance &gt; Menus<\/strong>), then you can add a custom link that points to &#8220;<strong>\/dap\/logout.php<\/strong>&#8221; or &#8220;<strong>http:\/\/YourSite.com\/dap\/logout.php<\/strong>&#8221; to your menu. This link will log your users out of both DAP and WordPress.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-2503\" style=\"border: 1px solid black;\" title=\"logout_custom_link\" src=\"http:\/\/www.digitalaccesspass.com\/doc\/wp-content\/uploads\/2009\/05\/logout_custom_link.png\" alt=\"\" width=\"508\" height=\"393\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Default DAP Member Page<\/h3>\n<p>If you use the default member&#8217;s area that comes with DAP out of the box &#8211; <strong>http:\/\/YourSite.com\/dap\/<\/strong> &#8211; then this page already has a &#8220;Log out&#8221; link at the top.<\/p>\n<p>But if you are putting all of DAP&#8217;s member pages within your WordPress blog <a href=\"http:\/\/DigitalAccessPass.com\/doc\/creating-member-affiliate-sections-within-wordpress\/\">using our various shortcodes<\/a>, then you need to publish the DAP logout link in your sidebar (or wherever you choose to).<\/p>\n<p>Here&#8217;s the link for logging out of the member&#8217;s area:<\/p>\n<h3 style=\"padding-left: 30px;\">http:\/\/YourSite.com\/dap\/logout.php<\/h3>\n<p>Replace &#8220;YourSite.com&#8221; with your actual site name, of course. And then publish the above link anywhere on your blog &#8211; sidebar, top menu bar, etc.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>NOTE<\/strong>: Clicking on the DAP log out link will log you out of both DAP and WordPress.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Login\/Logout Widget If you are using the DAP Login\/Logout widget on your sidebar, then the login widget automatically turns in to a &#8220;Logout&#8221; button once a member has logged in. No separate link needed if you&#8217;re using this widget. Click here to read more about the Login\/Logout widget. Logout link in your Menu If you [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,26,22],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/48"}],"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\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":9,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"predecessor-version":[{"id":4710,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/48\/revisions\/4710"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}