Skip to content

Instantly share code, notes, and snippets.

View rachelmccollin's full-sized avatar

Rachel McCollin rachelmccollin

View GitHub Profile
define('AUTH_KEY', 't`DK%X:>xy|e-Z(BXb/f(Ur`8#~UzUQG-^_Cs_GHs5U-&Wb?pgn^p8(2@}IcnCa|');
define('SECURE_AUTH_KEY', 'D&ovlU#|CvJ##uNq}bel+^MFtT&.b9{UvR]g%ixsXhGlRJ7q!h}XWdEC[BOKXssj');
define('LOGGED_IN_KEY', 'MGKi8Br(&{H*~&0s;{k0<S(O:+f#WM+q|npJ-+P;RDKT:~jrmgj#/-,[hOBk!ry^');
define('NONCE_KEY', 'FIsAsXJKL5ZlQo)iD-pt??eUbdc{_Cn<4!d~yqz))&B D?AwK%)+)F2aNwI|siOe');
define('AUTH_SALT', '7T-!^i!0,w)L#JK@pc2{8XE[DenYI^BVf{L:jvF,hf}zBf883td6D;Vcy8,S)-&G');
define('SECURE_AUTH_SALT', 'I6`V|mDZq21-J|ihb u^q0F }F_NUcy`l,=obGtq*p#Ybe4a31R,r=|n#=]@]c #');
define('LOGGED_IN_SALT', 'w<$4c$Hmd%/*]`Oom>(hdXW|0M=X={we6;Mpvtg+V.o<$|#_}qG(GaVDEsn,~*4i');
define('NONCE_SALT', 'a|#h{c5|P &xWs4IZ20c2&%4!c(/uG}W:mAvy<I44`jAbup]t=]V<`}.py(wTP%%');
AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
order deny,allow
deny from all
#IP address to Whitelist
allow from xxx.xxx.xxx.xxx
@rachelmccollin
rachelmccollin / gist:1bbe69171d839132e787
Created February 5, 2015 11:05
1502 WPMU DEV Multisite snippets
/* That's all, stop editing! Happy blogging. */
@rachelmccollin
rachelmccollin / gist:03590465793cf6bee81b
Created February 5, 2015 11:09
1502 WPMU DEV Multisite activation
define( 'WP_ALLOW_MULTISITE', true );
@rachelmccollin
rachelmccollin / 1502 CPT plugin opening
Last active August 29, 2015 14:15
WPMU DEV snippets
<?php
/*Plugin Name: Create Product Post Type
Description: This plugin registers the 'product' post type.
Version: 1.0
License: GPLv2
*/
?>
@rachelmccollin
rachelmccollin / 1502 CPT opening function
Last active August 29, 2015 14:15
WPMU DEV snippets
function wpmudev_create_post_type() {
}
add_action( 'init', 'wpmudev_create_post_type' );
@rachelmccollin
rachelmccollin / 1502 CPT inner code
Last active August 29, 2015 14:15
WPMU DEV snippets
// set up labels
$labels = array(
'name' => 'Products',
'singular_name' => 'Product',
'add_new' => 'Add New Product',
'add_new_item' => 'Add New Product',
'edit_item' => 'Edit Product',
'new_item' => 'New Product',
'all_items' => 'All Products',
'view_item' => 'View Product',
@rachelmccollin
rachelmccollin / 1502 CPT plugin final
Last active March 8, 2018 07:01
WPMU DEV snippets
<?php
/*Plugin Name: Create Product Post Type
Description: This plugin registers the 'product' post type.
Version: 1.0
License: GPLv2
*/
// register custom post type to work with
function wpmudev_create_post_type() {
// set up labels
<?php
/*Plugin Name: Create Product Category Taxonomy
Description: This plugin registers the 'product category' taxonomy and applies it to the 'product' post type.
Version: 1.0
License: GPLv2
*/
?>
function wpmudev_register_taxonomy() {
}
add_action( 'init', 'wpmudev_register_taxonomy' );