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
Misc | |
-------------------- | |
free | |
cheap | |
nude | |
naked | |
sex | |
porn | |
porno | |
torrent |
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
## EXPIRES CACHING ## | |
<IfModule mod_expires.c> | |
ExpiresActive On | |
ExpiresByType image/jpg "access 1 year" | |
ExpiresByType image/jpeg "access 1 year" | |
ExpiresByType image/gif "access 1 year" | |
ExpiresByType image/png "access 1 year" | |
ExpiresByType text/css "access 1 month" | |
ExpiresByType application/pdf "access 1 month" | |
ExpiresByType text/x-javascript "access 1 month" |
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
/** | |
* Show Google Drive CSV as HTML Table - show_gdoc_csv_html_table() | |
* Parameters: | |
* (url) - required string of url to published to the web google drive spreadsheet (not just shared) in csv format (&output=csv) | |
* (table_id) - optional string used for the table's id, appended to data-table-, defaults to 1 | |
* (table_headers) - optional boolean to show first row with Table Headers (<th>), defaults to FALSE | |
*/ | |
function show_gdoc_csv_html_table($url, $table_id='1', $table_headers=FALSE) { | |
// generate cache filename from url |
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
/* Home Page | |
--------------------------------------------- */ | |
.agency-pro-home .content .widget { | |
background: #fff; | |
margin-bottom: 80px; | |
margin-bottom: 8rem; | |
padding: 40px; | |
padding: 4rem; | |
} |
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: Local Business Microdata Widget | |
Plugin URI: http://mywpcms.com/local-business-microdata-widget/ | |
Description: A widget that displays business contact info with microdata markup for the Local Business type from Schema.org. | |
Version: 0.1.0 | |
Author: James Maabadi | |
Author URI: https://plus.google.com/u/0/+JamesMaabadi/posts | |
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
/* Featured Top Widget Area on Homepage | |
------------------------------------------------------------ */ | |
genesis_register_sidebar( array( | |
'id' => 'featured-top-left', | |
'name' => __( 'Top Left Featured', 'jm-theme' ), | |
'description' => __( 'This is the top left featured section.', 'jm-theme' ), | |
) ); | |
genesis_register_sidebar( array( | |
'id' => 'featured-top-right', | |
'name' => __( 'Top Right Featured', 'jm-theme' ), |
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
/* | |
* Shortcode that displays a WordPress Search Form that CAN search a | |
* specified category | |
* | |
* Generally this snippet goes somewhere in functions.php | |
*/ | |
add_shortcode('search-cat', 'jm_customize_search'); | |
function jm_customize_search($form, $search_text, $button_text) { | |
$onfocus = " onfocus=\"if (this.value == '$search_text') {this.value = '';}\""; | |
$onblur = " onblur=\"if (this.value == '') {this.value = '$search_text';}\""; |