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
/** | |
* Convert tiny thumbnails to larger previews for product texture swatches | |
* @group Product | |
* | |
*/ | |
jQuery('.textureContainer .thumbnail').attr('style', function() { | |
return jQuery(this).attr('style').replace('.thumbnail.png', '.preview.png'); | |
}); |
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
$('body').on( 'submit.edit-post', '#post', function () { | |
// If the title isn't set | |
if( $("#title").val().length === 0 ) { | |
// Show the alert | |
alert('A title is required.'); | |
// Hide the spinner | |
$('#major-publishing-actions .spinner').hide(); |
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: Debug Bar for Gravity Forms No-Conflict Mode | |
Plugin URI: http://katz.co | |
Description: Enable debug bar when Gravity Forms has No Conflict Mode on. | |
Version: 1.0 | |
Author: Katz Web Services, Inc. | |
Author URI: http://katz.co | |
*/ | |
add_filter( 'gform_noconflict_scripts', 'debug_bar_add_gf_noconflict'); |
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: EDD W3TC Fix Discount Codes | |
* Plugin URI: http://gravityview.co | |
* Description: Fix discount code caching issues for Easy Digital Downloads when using W3 Total Cache | |
* Version: 1.1 | |
*/ | |
if( function_exists( 'wp_suspend_cache_addition' ) ) { |
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
/** | |
* Get readme response from the readme.txt configuration in EDD Software Licensing | |
* | |
* @param int $id Download ID | |
* @return array|boolean Readme array if exists; NULL if not exists | |
*/ | |
function get_edd_sl_readme( $id = NULL ) { | |
if( !empty( $id ) && function_exists('_edd_sl_get_readme_data') ) { |
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: GravityView - Show All Users in Change Entry Creator | |
Plugin URI: http://gravityview.co | |
Description: Show all users in the Change Entry Creator dropdown (instead of just 300) | |
Version: 1.1 | |
Author: Katz Web Services, Inc. | |
Author URI: http://www.katzwebservices.com | |
Text Domain: gravityview | |
License: GPLv2 or later |
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: IDX+ - Deactivate Logging | |
* Description: Disable logging for IDX+ | |
* Version: 1.0 | |
* Author: Katz Web Services, Inc. | |
* Author URI: http://www.idxplus.net | |
*/ | |
add_action('init', 'modify_idx_plus_disable_logging'); |
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: GravityView - Use Alternate DataTables Sources | |
* Description: Use CDNJS.com sources for the DataTables library | |
* Version: 1.0 | |
* Author: Katz Web Services, Inc. | |
* Author URI: https://gravityview.co | |
*/ | |
class Replace_GV_DataTables_Scripts { |
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: GravityView - Modify Search Labels (Example Code) | |
* Plugin URI: http://gravityview.co | |
* Description: Modify the text of Search Bar labels | |
* Version: 1.0 | |
* Author: Katz Web Services, Inc. | |
* Author URI: http://gravityview.co | |
*/ |
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: GravityView - Add Anchor to View Pagination | |
* Plugin URI: http://gravityview.co | |
* Description: Have GravityView pagination link to in-page anchor ID instead of top of page. | |
* Version: 1.0 | |
* Author: Katz Web Services, Inc. | |
* Author URI: http://www.katzwebservices.com | |
*/ |
OlderNewer