Date: [date]
Between us [company name] and you [customer name].
In short; neither of us will share any confidential information about each-other, by any means, with anyone else.
<?php | |
/** | |
* Define type of server | |
* | |
* Depending on the type other stuff can be configured | |
* Note: Define them all, don't skip one if other is already defined | |
*/ | |
define( 'DB_CREDENTIALS_PATH', dirname( ABSPATH ) ); // cache it for multiple use |
Revised date: 07/11/2012
Between us [company name] and you [customer name]
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future.
<?php | |
/** | |
* Template Name: Galleries | |
* | |
* @package BE_Gallery | |
* @since 1.0.0 | |
* @link https://github.com/billerickson/BE-Gallery | |
* @author Bill Erickson <[email protected]> | |
* @copyright Copyright (c) 2011, Bill Erickson | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
# Toggle Localdev On/Off | |
# Fetch the status of localdev | |
set localdevStatus to do shell script "/usr/local/bin/localdev status | awk '{print $3}'" | |
if localdevStatus is equal to "on" then | |
toggleLocaldev("off") | |
else | |
toggleLocaldev("on") | |
end if |
<?php | |
add_filter( 'nav_menu_css_class', 'je_portfolio_menu_item_classes', 10, 2 ); | |
/** | |
* Add css classes to Portfolio CPT menu item, remove from Blog item | |
* | |
* Enables menu classes for CPTs. | |
* Pretty fragile, as it depends on the item titles for each menu item, change as required | |
* | |
* @param array $classes CSS classes for the menu item |
/** | |
* WordPress' missing is_blog() function. Determines if the currently viewed page is | |
* one of the blog pages, including the blog home page, archive, category/tag, author, or single | |
* post pages. | |
* | |
* Doesn't include is_search(), if you only use search for the blog, then add that in or test separately | |
* | |
* @props grantnorwood | |
* @return bool | |
*/ |
<?php | |
defined( 'ABSPATH' ) OR exit; | |
/** | |
* Plugin Name: SysBot | |
* Description: Creates and maintains the SysBot User (which has the role of "editor") | |
* Author: Franz Josef Kaiser | |
*/ | |
# PUBLIC API # | |
function get_bot() |
<?php | |
/** | |
* Plugin Name: Staging Option Tweaks | |
* Plugin URI: http://www.josheaton.org/ | |
* Description: Checks the health of your WordPress install | |
* Author: Josh Eaton | |
* Version: 0.1 | |
* Author URI: http://www.josheaton.org/ | |
* | |
* A plugin that modifies the `admin_email` and `blogname` and `blog_public` options for staging sites. |