Skip to content

Instantly share code, notes, and snippets.

Tony Eppright AlphaBlossom

Block or report user

Report or block AlphaBlossom

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@AlphaBlossom
AlphaBlossom / youtube-replace-video-embed-thumbnail.css
Created Aug 13, 2019
Video Speed Optimization - Replace Youtube Video with Thumbnail, Load Video on Thumbnail Click
View youtube-replace-video-embed-thumbnail.css
.youtube-player {
position: relative;
padding-bottom: 56.23%;
/* Use 75% for 4:3 videos */
height: 0;
overflow: hidden;
max-width: 100%;
background: #000;
}
View optin29617866 .css
/* CSS to raise lower section #row--31911-135 up into upper section */
/* Add overflow: visible so that #row--31911-135 will be able to show outside of container */
#section--38651-177-158-119-180-119 {
overflow: visible;
}
/* Add position: relative so z-index applies and this section covers the girl's body */
#row--31911-135 {
@AlphaBlossom
AlphaBlossom / clickfunnels-backstretch-footer.html
Last active Jan 24, 2017
Add backstretch.js carousel to ClickFunnels
View clickfunnels-backstretch-footer.html
View be_load_more_js.php
<?php
/**
*
* Javascript for Load More
* Added conditional to not display on blog home page or single post pages
* Added 'maxpage' to use in load-more.js to determine if there are no more posts
*
*/
View click-to-load.php
function init_load_posts() {
// Grid Loop Query Args
add_action( 'pre_get_posts', 'be_grid_loop_query_args' );
}
add_action( 'init', 'init_load_posts' );
function be_grid_loop_query_args( $query ) {
@AlphaBlossom
AlphaBlossom / idx-broker-single-listing-header.html
Last active Aug 29, 2015
IDX Broker Single Listing Sub Header Variables Example
View idx-broker-single-listing-header.html
<!-- Example displaying Address and MLS# in H1 tag and property type and county in H2
This should be added using the HTML view in the IDX admin editor.
The class="entry-title" should be changed to match the class used in your theme. This
example is for a Genesis child theme. -->
<h1 class="entry-title">{{address}}, {{cityName}}, {{state}} {{zipcode}} (MLS# {{listingID}})</h1>
<h2>{{propType}} listing in {{countyName}} County</h2>
@AlphaBlossom
AlphaBlossom / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@AlphaBlossom
AlphaBlossom / cpt-nav-add-current-menu-item.php
Last active Aug 29, 2015
Change Nav Menu on CPT to Highlight CPT instead of Blog
View cpt-nav-add-current-menu-item.php
<?php
//* Do NOT include the opening php tag
/**********************************
*
* Adds "current-menu-item" to CPT Nav
*
* @author AlphaBlossom / Tony Eppright
* @link http://www.alphablossom.com
*
@AlphaBlossom
AlphaBlossom / logo-centered-navigation-menu.css
Last active Aug 29, 2015
Logo Centered on Navigation Menu
View logo-centered-navigation-menu.css
/**********************************
*
* Add a centered logo to the Genesis Navigation Menu
* using CSS only
*
* @author AlphaBlossom / Tony Eppright
* @link http://www.alphablossom.com
*
************************************/
/*
@AlphaBlossom
AlphaBlossom / remove-email-url-fields-comments.php
Last active Aug 29, 2015
Remove Email and URL Fields from WordPress comments form
View remove-email-url-fields-comments.php
<?php
//* Do NOT include the opening php tag
/**********************************
*
* Filter Comments Form
* Remove Email and URL Fields
*
* @author AlphaBlossom / Tony Eppright
* @link http://www.alphablossom.com
You can’t perform that action at this time.