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
/** | |
* Using display: table-cell to evenly determine widths. You can add an arbitrary number of <li> | |
*/ | |
ul { | |
padding: 0; | |
display: table; | |
width: 100%; | |
table-layout: fixed; |
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
/* Includes Bootstrap mixins! | |
*********************************/ | |
/* Browser Resets | |
*********************************/ | |
.flex-container a:active, | |
.flexslider a:active, | |
.flex-container a:focus, | |
.flexslider a:focus { outline: none; } | |
.slides, |
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 | |
if (!class_exists('Tax_CTP_Filter')){ | |
/** | |
* Tax CTP Filter Class | |
* Simple class to add custom taxonomy dropdown to a custom post type admin edit list | |
* @author Ohad Raz <admin@bainternet.info> | |
* @version 0.1 | |
*/ | |
class Tax_CTP_Filter | |
{ |
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
<MY BIZ NAME> chooses not to do business with and will not perform site deployments to, site maintenance on, or site migrations to GoDaddy® or its affiliates (including MediaTemple®) due to its unwieldy hosting platform, its past CEO's inhumane treatment of animals, its deceptive and sexist advertising practices, and its past support for SOPA (the proposed invasive intellectual property rights bill which prompted Reddit, Wikipedia, and others to shut down their sites in protest). | |
For more details, please see http://karveldigital.com/why-i-dont-use-godaddy-you-shouldnt-either/ and http://godaddyhostingsucks.com/. | |
Clients already hosted with GoDaddy may secure more reliable, user-friendly, and ethical hosting through <YOUR PREFERRED REFERRAL HOSTS>. |
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
.selection(@color; @bg) { | |
&::selection { | |
-webkit-font-smoothing: antialiased; | |
color: @color; | |
text-shadow: none; | |
background: @bg; | |
background: fadeout(@bg, 1%); | |
} | |
&::-moz-selection { | |
-webkit-font-smoothing: antialiased; |
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
// first some helpful mixins | |
.abs { | |
position: absolute; | |
} | |
.rel { | |
position: relative; | |
} | |
.position(@top; @right; @bottom; @left) { | |
top: @top; | |
right: @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
<?php | |
function wpcf7_dynamic_email_field($args) { | |
if(!empty($args['recipient'])) { | |
$args['recipient'] = str_replace('%admin%', get_option('admin_email'), $args['recipient']); | |
return $args; | |
} | |
return false; | |
} | |
add_filter('wpcf7_mail_components', 'wpcf7_dynamic_email_field'); |
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: AA Test Plugin | |
* Plugin URI: http://wordpress.org/extend/plugins/test | |
* Description: Testing all kinds of things! | |
* Author: Richard Archambault | |
* Version: 1.0 | |
* License: GPL2+ | |
*/ | |
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
RewriteEngine on | |
#change dev.example.com to your domain name | |
RewriteCond %{HTTP_HOST} ^(www.)?dev.example.com$ | |
RewriteCond %{REQUEST_URI} !^/current/web/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule ^(.*)$ /current/web/$1 | |
#change dev.example.com to your domain name | |
RewriteCond %{HTTP_HOST} ^(www.)?dev.example.com$ | |
RewriteRule ^(/)?$ current/web/index.php [L] |
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 | |
global $post; | |
$label = 'pwbox-'.(empty($post->ID) ? rand() : $post->ID); | |
?> | |
<form action="<?php echo esc_url(site_url('wp-login.php?action=postpass', 'login_post')); ?>" class="post-password-form form-inline" method="post"> | |
<p><?php _e('This content is password protected. To view it please enter your password below:', 'roots'); ?></p> | |
<p><label for="<?php echo $label; ?>" class="sr-only"><?php _e('Password:', 'roots'); ?></label></p> | |
<div class="input-group"> | |
<input name="post_password" id="<?php echo $label; ?>" type="password" placeholder="<?php _e('Enter password', 'roots'); ?>" class="form-control" /> | |
<span class="input-group-btn"> |
OlderNewer