Skip to content

Instantly share code, notes, and snippets.

@fahadiqbal1
fahadiqbal1 / functions.php
Created August 26, 2018 14:49
Quick way to add leave site button on WordPress
/* Add to the bottom of the page */
<?php
function addHideSiteButton() {
?>
<div id="hide-site">
<button onclick="hideSite()">Leave this site</button>
</div>

Keybase proof

I hereby claim:

  • I am fahadiqbal1 on github.
  • I am fahadiqbal (https://keybase.io/fahadiqbal) on keybase.
  • I have a public key ASCvkuN4cX5xWfVIkZ4N_U7tiTOJ4OEVXpBLdG1ziqrhZwo

To claim this, I am signing this object:

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post