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: Events Manager custom thumbnails | |
Plugin URI: https://gist.github.com/webaware/8793362 | |
Description: example of using custom thumbnails for events | |
Version: 1 | |
Author: WebAware | |
Author URI: http://www.webaware.com.au/ | |
@ref: http://snippets.webaware.com.au/snippets/stop-events-manager-from-cropping-thumbnails/ |
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: Flxmap KML cache buster | |
Plugin URI: https://gist.github.com/webaware/8946050 | |
Description: force Google to reload KML maps every hour | |
Version: 1 | |
Author: WebAware | |
Author URI: http://webaware.com.au/ | |
NB: this solution won't work with page caching plugins, e.g. WP Super Cache / W3 Total Cache |
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: Flxmap Custom Address | |
Plugin URI: https://gist.github.com/webaware/9927981 | |
Description: Set map address from custom field "Street Address" if page/post has one | |
Version: 1 | |
Author: WebAware | |
Author URI: http://webaware.com.au/ | |
@ref http://wordpress.org/support/topic/flexiblemap-address-using-data-from-custom-field |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 |
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: GFeWAY Recurring Monthly | |
Plugin URI: https://gist.github.com/webaware/10569363 | |
Description: only allow Monthly for recurring payments | |
Version: 1 | |
Author: WebAware | |
Author URI: http://webaware.com.au/ | |
@ref: http://wordpress.org/support/topic/how-to-make-interval-type-have-monthly-option-only |
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: Flxmap jQuery UI Activate | |
Plugin URI: https://gist.github.com/webaware/05b27e3a99ccb00200f5 | |
Description: Fix maps in jQuery UI hidden accordion and tab panels | |
Version: 2 | |
Author: WebAware | |
Author URI: http://www.webaware.com.au/ | |
*/ |
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: Order Form for WooCommerce Product Attributes | |
Plugin URI: https://gist.github.com/webaware/931c8c216a90a16b9c62 | |
Description: add product attributes to Order Form for WooCommerce product | |
Author: WebAware | |
Author URI: http://webaware.com.au/ | |
*/ | |
if (!defined('ABSPATH')) { |
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 | |
/** | |
* add product description to Order Form for WooCommerce product | |
* @param WC_Product $product | |
* @param array $attrs | |
*/ | |
add_action('orderform_woocommerce_order_item_end', function($product, $attrs) { | |
$description = $product->get_post_data()->post_content; |
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 | |
/** | |
* Include the Gravity Forms PDF Extended class if the GFDPSPXPAY plugin is listening to a return URL (IPN-style) | |
*/ | |
function pdf_init_gfdpspxpay() { | |
if (class_exists('GFPDF_Core') && empty($GLOBALS['gfpdf'])) { | |
global $gfpdf; | |
$gfpdf = new GFPDF_Core(); | |
} |
OlderNewer