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 | |
//* Do NOT include the opening php tag | |
/********************************** | |
* | |
* Filter Comments Form | |
* Remove Email and URL Fields | |
* | |
* @author AlphaBlossom / Tony Eppright | |
* @link http://www.alphablossom.com |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
<!-- 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> |
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
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 ) { |
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 | |
/** | |
* | |
* 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 | |
* | |
*/ | |
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
/* 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 { |
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
.youtube-player { | |
position: relative; | |
padding-bottom: 56.23%; | |
/* Use 75% for 4:3 videos */ | |
height: 0; | |
overflow: hidden; | |
max-width: 100%; | |
background: #000; | |
} |