This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Arial, Helvetica, sans-serif | |
"Arial Black", Gadget, sans-serif Helvetica, sans-serif | |
"Comic Sans MS", cursive, sans-serif | |
Impact, Charcoal, sans-serif | |
"Lucida Sans Unicode", "Lucida Grande", sans-serif | |
Tahoma, Geneva, sans-serif | |
"Trebuchet MS", Helvetica, sans-serif | |
Verdana, Geneva, sans-serif | |
Georgia, serif | |
"Palatino Linotype", "Book Antiqua", Palatino, serif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // DEFAULT LOOP | |
if( (!isset($_POST['product_selection']) || '' == $_POST['product_selection']) && (!isset($_POST['cat_selection']) || '' == $_POST['cat_selection'] )) { ?> | |
<?php | |
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; | |
$query = new WP_Query( array( | |
'post_type' => 'recipes', // your CPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ========================================================================== | |
Custom Walker Menu for Secondary Navigation Page Templates | |
========================================================================== */ | |
class Menu_With_Description extends Walker_Nav_Menu { | |
function start_el(&$output, $item, $depth, $args) { | |
global $wp_query; | |
$indent = ( $depth ) ? str_repeat( "t", $depth ) : ''; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//How to edit a user profile on the front end? | |
//http://wordpress.stackexchange.com/questions/9775/how-to-edit-a-user-profile-on-the-front-end | |
//Forcing nickname as display_name in custom edit profile template | |
//http://wordpress.stackexchange.com/questions/35403/forcing-nickname-as-display-name-in-custom-edit-profile-template | |
/////// | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Basic Google Analytics | |
Plugin URI: trepmal.com | |
Description: Adds very basic Google Analytics code. Need complex tracking? This isn't for you. | |
Version: 1 | |
Author: Kailey Lampert | |
Author URI: kaileylampert.com | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* The constants defined here are used as a fallback to whatever options you | |
* end up specifying specifically. | |
* | |
* @var constant string | |
*/ | |
define('WATERMARK_SOURCE', ABSPATH.'/wp-content/themes/mytheme/images/fb_thumb_watermark.png'); | |
define('WATERMARK_ORIENTATION', 'bottom right'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Oprah Thing | |
Saw some movie and there was some Oprah-related commerical before it and it had title things like this during it | |
*/ | |
body { background: black; padding: 100px; margin: 0; } | |
h1 { | |
text-align: center; | |
color: white; | |
text-transform: uppercase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Mobile First Responsive Images | |
Description: Serve up smaller images to smaller screens. | |
Version: 0.1.1 | |
Author: Matt Wiebe | |
Author URI: http://somadesign.ca/ | |
*/ | |
/** |