Skip to content

Instantly share code, notes, and snippets.

@vijujohns
Last active August 29, 2015 14:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vijujohns/c3a09d357f2a1d056f30 to your computer and use it in GitHub Desktop.
Save vijujohns/c3a09d357f2a1d056f30 to your computer and use it in GitHub Desktop.
Create a site specific plugin to host your local functions that can be enabled or disabled any time. http://www.wppicker.com/why-and-how-should-i-use-a-site-specific-plugin-for-wordpress/
<?php
/*
Plugin Name: Site Plugin for mysite.com
Version: 1.0
Author: Your Name
Description: Custom functions for mysite.com
*/
/* Start Adding Functions Below this Line */
..code for custom functionalities goes here....
/* Stop Adding Functions Below this Line */
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment