January 1 - Rocky
January 6 - Sherlock Holmes
January 11 - Goodfellas
January 20 - The Fugitive
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
# BEGIN Use uploads directory from Live Site | |
RewriteBase /wp-content/uploads/ | |
RewriteCond %{HTTP_HOST} !^www\.livedomain\.com | |
RewriteCond %{HTTP_HOST} !^livedomain\.com | |
RewriteCond %{REQUEST_URI} ^/wp-content/uploads/ | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html" /> | |
<meta name="author" content="Brian DiChiara" /> | |
<title>Launching...</title> | |
<style type="text/css"> | |
* { margin:0; padding:0; } | |
body, html, .container { background:#2f2f2f; } | |
p { margin:100px auto; text-align:center; font-size:0; width:373px; height:29px; background:url(http://assets.infomedia.net/launching.gif) no-repeat 50% 50%; } |
(function( $ ){ | |
'use strict'; | |
function auto_fit_soliloquy( parent_selector ){ | |
// resize the slider container | |
var $soliloquy = $( parent_selector + ' .soliloquy-container'), | |
$all_items = $('.soliloquy-slider,.soliloquy-viewport,.soliloquy-item', $soliloquy ), | |
$container = $('.soliloquy-item', $soliloquy ), | |
window_height = $(window).height(); |
# Redirect Requests to Live Site. | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^stagingsite.net$ [NC] | |
RewriteRule ^(.*)$ https://livesite.com/$1 [R=301,L] | |
</IfModule> |
<?php | |
$alphabet = range('A','Z'); | |
$letters = array(); | |
while( $the_query->have_posts() ) : $the_query->the_post(); | |
$lname = get_post_meta(get_the_ID(), $prefix.'lname', true); | |
$first = strtoupper(substr(trim($lname), 0, 1)); | |
if($first && !in_array($first, $letters)){ | |
$letters[] = $first; | |
} | |
endwhile; |
<?php | |
add_filter( 'acf/load_field', 'mytheme_set_field_name' ); | |
function mytheme_set_field_name( $field ){ | |
if( is_admin() ){ | |
$screen = get_current_screen(); | |
if( $screen->id == 'acf-field-group' ) | |
return $field; |
<?php | |
add_filter( 'algolia_terms_index_settings', '__return_empty_array' ); | |
add_filter( 'algolia_users_index_settings', '__return_empty_array' ); | |
add_filter( 'algolia_posts_listing_index_settings', 'mytheme_algolia_listing_settings' ); | |
function mytheme_algolia_listing_settings( $settings ){ | |
$numeric_fields = array_keys( mytheme_algolia_faceted_fields( array( 'int', 'float' ) ) ); | |
$string_fields = array_keys( mytheme_algolia_faceted_fields( 'string' ) ); |
wget -i image-list.txt --force-directories |
<?php | |
add_filter( 'gform_field_validation', 'mytheme_fix_custom_validation', 10, 4 ); | |
/** | |
* Fixes Gravity Forms Custom validation message. | |
* | |
* @link https://docs.gravityforms.com/gform_field_validation/ | |
* | |
* @param array $result The result array. |