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 | |
# 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 |
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 | |
add_filter( 'the_posts', 'mytheme_inject_sticky_posts', 10, 2 ); | |
function mytheme_inject_sticky_posts( $posts, $q ){ | |
// Don't do this in the admin or on page 1, WP already does it for page 1 | |
if( is_admin() || $q->get( 'paged' ) <= 1 ) | |
return $posts; | |
// get the sticky posts array |
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
// Load plugins | |
var gulp = require('gulp'), | |
autoprefixer = require('gulp-autoprefixer'), | |
cache = require('gulp-cache'), | |
compass = require('gulp-compass'), | |
concat = require('gulp-concat'), | |
imagemin = require('gulp-imagemin'), | |
jshint = require('gulp-jshint'), | |
imagemin = require('gulp-imagemin'), | |
livereload = require('gulp-livereload'), |
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
Yeah | |
Yo, why you tryin' to hurt me girl | |
Don'tcha know I'm Bruce Willis. | |
Yeah | |
Yo, why you tryin' to hurt me girl | |
Don'tcha know I'm Bruce, Bruce |
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 | |
// ... | |
// @ line 137 | |
# see https://github.com/tybruffy/ACF-Reusable-Field-Group/blob/master/acf-reusable_field_group-v5.php#L137 | |
function render_field( $field ) { | |
global $post; | |
$current_id = $post->ID; ### $post is not defined/availabe on a Settings page |
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
/** | |
* Fade Labels | |
* | |
* @version 1.0.0 | |
* @author Brian DiChiara | |
* @website http://briandichiara.com | |
*/ | |
(function ( $ ) { | |
$.fn.fadeLabel = function( options ){ |
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 get_header(); ?> | |
<div id="content" class="clearfix row"> | |
<div id="main" class="col-sm-8 clearfix" role="main"> | |
<div class="page-header"> | |
<?php if (is_category()) { ?> | |
<h1 class="archive_title h2"> | |
<span><?php _e("Posts Categorized:", "wpbootstrap"); ?></span> <?php single_cat_title(); ?> |
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 | |
/** | |
* My Virtual Merchant Submission Button | |
* Description: This button will allow users to send customers and clients to the My Virtual Merchant payment form | |
* Version: 1.0.0 | |
* Author: Brian DiChiara | |
* Author URI: http://www.briandichiara.com | |
*/ | |
$post_url = 'https://www.myvirtualmerchant.com/VirtualMerchant/process.do'; |
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 | |
/** | |
* Run the wp query to fetch the posts for listing on the edit posts page | |
* | |
* @since 2.5.0 | |
* | |
* @param array|bool $q Array of query variables to use to build the query or false to use $_GET superglobal. | |
* @return array | |
*/ |