This file contains hidden or 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 | |
/* | |
Template Name: Areas of Expertise | |
*/ | |
get_header(); ?> | |
<div id="primary" class="site-content"> | |
<div id="content" role="main"> |
This file contains hidden or 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 | |
################################################################################ | |
// Custom WP-CONFIG Template. | |
################################################################################ | |
################################################################################ | |
// For Quick Client Reference | |
################################################################################ | |
// Client Name: | |
// Salesforce URL: |
This file contains hidden or 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
# Apache Server Config | MIT License | |
# https://gist.github.com/bhubbard/6082577 | |
# Modified from https://github.com/h5bp/server-configs-apaches | |
# ############################################################################## | |
# # Default WordPress # | |
# ############################################################################## | |
# http://randomtype.ca/blog/the-wordpress-htaccess-file-explained/ | |
# BEGIN WordPress |
This file contains hidden or 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
<div itemprop="review" itemscope itemtype="http://schema.org/Review"> | |
<div itemprop="author" itemscope itemtype="http://schema.org/Person"> | |
<h1 class="headline" itemprop="name"><?php the_title(); ?></h1> | |
</div> | |
<div class="the-content" itemprop="reviewBody"> | |
<?php the_content(); ?> | |
</div> |
This file contains hidden or 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
<!-- Display all child pages --> | |
<? | |
$child_pages = $wpdb->get_results("SELECT * FROM $wpdb->posts WHERE post_parent = ".$post->ID." AND post_type = 'page' ORDER BY menu_order", 'OBJECT'); | |
if ( $child_pages ) : | |
foreach ( $child_pages as $pageChild ) : | |
setup_postdata( $pageChild ); | |
$thumbnail = get_the_post_thumbnail($pageChild->ID, 'thumbnail'); | |
if($thumbnail == "") continue; // Skip pages without a thumbnail |
This file contains hidden or 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
/* -------------------------------------------------------- */ | |
/* IDX BROKER WIDGET RESETS */ | |
/* -------------------------------------------------------- */ | |
/* SHOWCASE WIDGET | |
----------------------------------------------------------- */ | |
.IDX-showcaseTable { | |
max-width: 100% !important; | |
} | |
.IDX-showcaseCell { |
This file contains hidden or 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
add_filter('yoast-ga-custom-vars','add_ga_custom_vars',10,2); | |
function add_ga_custom_vars($push, &$customvarslot) { | |
$my_custom_val = "whaterver"; | |
$push[] = "'_setCustomVar',".$customvarslot.",'My_Custom_Variable','".$my_custom_val."',3"; | |
$customvarslot++; | |
return $push; | |
} |
This file contains hidden or 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
/* -------------------------------------------------------- */ | |
/* IDX BROKER CUSTOM CSS */ | |
/* -------------------------------------------------------- */ | |
/* GLOBAL | |
----------------------------------------------------------- */ | |
#IDX-main {width: 100% !important;} | |
This file contains hidden or 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
$ curl https://raw.github.com/wp-cli/wp-cli.github.com/master/installer.sh | bash | |
$ export PATH=$PATH:$HOME/.wp-cli/bin | |
# Add this line to .bash_profile | |
alias mysql="/Applications/MAMP/Library/bin/mysql --host=localhost -uroot -proot" |
This file contains hidden or 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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |