{"id":2145,"date":"2012-02-25T02:53:20","date_gmt":"2012-02-25T10:53:20","guid":{"rendered":"http:\/\/www.digitalaccesspass.com\/doc\/?p=2145"},"modified":"2014-03-01T22:34:01","modified_gmt":"2014-03-02T06:34:01","slug":"customizing-logout-button","status":"publish","type":"post","link":"http:\/\/digitalaccesspass.com\/doc\/customizing-logout-button\/","title":{"rendered":"Customizing Logout Button"},"content":{"rendered":"<p>If you wish to change the default &#8220;Logout&#8221; button that shows up in the Login\/Logout sidebar widget, then here&#8217;s what you need to do&#8230;<\/p>\n<p>Rename the file<\/p>\n<blockquote><p>wp-content\/plugin\/DAP-WP-LiveLinks\/<strong>DAP-WP-LogoutHTML.html<\/strong><\/p><\/blockquote>\n<p>To&#8230;<\/p>\n<blockquote><p>wp-content\/plugin\/DAP-WP-LiveLinks\/<strong><span style=\"color: #ff0000;\">custom<\/span>DAP-WP-LogoutHTML.html<\/strong><\/p><\/blockquote>\n<p>Open this new file <strong>customDAP-WP-LogoutHTML.html<\/strong> and inside you&#8217;ll see just this one line&#8230;<\/p>\n<blockquote><p>&lt;input <strong>type=&#8217;button&#8217;<\/strong> name=&#8217;dap-logout-button&#8217; value=&#8217;Log Out&#8217; onClick=&#8221;javascript:location.href=&#8217;\/dap\/logout.php&#8217;;&#8221;\u00a0 style=&#8221;margin-top:5px&#8221; \/&gt;<\/p><\/blockquote>\n<p>Change that to&#8230;<\/p>\n<blockquote><p>&lt;input <strong>type=&#8217;image&#8217;<\/strong> <span style=\"color: #ff0000;\"><strong>src=&#8221;\/path\/to\/button\/image.jpg&#8221;<\/strong><\/span> name=&#8217;dap-logout-button&#8217; value=&#8217;Log Out&#8217; onClick=&#8221;javascript:location.href=&#8217;\/dap\/logout.php&#8217;;&#8221;\u00a0 style=&#8221;margin-top:5px&#8221; \/&gt;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>If you wish to change the default &#8220;Logout&#8221; button that shows up in the Login\/Logout sidebar widget, then here&#8217;s what you need to do&#8230; Rename the file wp-content\/plugin\/DAP-WP-LiveLinks\/DAP-WP-LogoutHTML.html To&#8230; wp-content\/plugin\/DAP-WP-LiveLinks\/customDAP-WP-LogoutHTML.html Open this new file customDAP-WP-LogoutHTML.html and inside you&#8217;ll see just this one line&#8230; &lt;input type=&#8217;button&#8217; name=&#8217;dap-logout-button&#8217; value=&#8217;Log Out&#8217; onClick=&#8221;javascript:location.href=&#8217;\/dap\/logout.php&#8217;;&#8221;\u00a0 style=&#8221;margin-top:5px&#8221; \/&gt; Change that to&#8230; &lt;input [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[85,27,58,53],"tags":[],"_links":{"self":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2145"}],"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=2145"}],"version-history":[{"count":4,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2145\/revisions"}],"predecessor-version":[{"id":4207,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/posts\/2145\/revisions\/4207"}],"wp:attachment":[{"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/media?parent=2145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/categories?post=2145"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/digitalaccesspass.com\/doc\/wp-json\/wp\/v2\/tags?post=2145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}