As of November 5th, 2013, this version of the blacklist will no longer be updated.
I have migrated the project to a full Git repository in order to better track changes, bugs, and feedback.
Check out Comment Blacklist for WordPress on GitHub.
As of November 5th, 2013, this version of the blacklist will no longer be updated.
I have migrated the project to a full Git repository in order to better track changes, bugs, and feedback.
Check out Comment Blacklist for WordPress on GitHub.
| <?php | |
| /** | |
| * For WooCommerce 1.4.2 and above | |
| * Dimensions/weight Units Normaliser | |
| * Author Andy Zhang | |
| * Company: Hypnotic Zoo | |
| * Company Url: hypnoticzoo.com | |
| */ |
This gist assumes:
This is documentation for the new TribeSettings API available in The Events Calendar 2.0.5 and up
There are four classes that make up the new Tribe Settings API. All four are located in the /lib folder of the plugin. All four are also bootstrapped and loaded whenever the plugin runs.
Take note that each class represents a level of abstraction. If you are creating a new settings tab, you will be mostly concerned and interested in the fourth class TribeSettingsTab which neatly wraps the other 3 classes into a helpful & easy to use API.
| Hi | |
| I hope this helps you all get started with phonegap and sqlite in your | |
| application | |
| Dean-O | |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
| "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> |
| <?php | |
| /** | |
| * Plugin Name: Delay post publishing | |
| * Plugin URI: http://unserkaiser.com | |
| * Description: Only allows publishing a post if the user registered one week ago. | |
| * Version: 0.1 | |
| * Author: Franz Josef Kaiser | |
| * Author URI: http://unserkaiser.com | |
| */ | |
| // Not a WordPress context? Stop. Why? Ask @toscho |
Inspired by the police.uk crime maps, where they cleverly cluster data together depending on how far zoomed in you are, this MySQL snippet goes a long way to explaining the logic behind such an operation.
This snippet groups sites to a perfect grid while the police.uk algorithm has some sort of trickery that moves their points about somewhat, looking at their blogs and documentation I would conclude that they have a predefined set of points, each with a catchment area of postcodes. It looks like a whole lot of scraping and manual labour went into their database and quite frankly I don't have the time nor inclination do attempt such a task.
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <!-- Android | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" /> | |
| <meta charset="utf-8">--> | |
| <!-- iPad/iPhone specific css below, add after your main css > |
| <?php | |
| /* | |
| Plugin Name: WooCommerce Attribute Links | |
| Description: Display product attribute archive links on product page, right below the add to cart button. | |
| Version: 1.0 | |
| Author: Coen Jacobs | |
| Author URI: http://coenjacobs.me | |
| */ |
| <?php | |
| /* From https://www.usps.com/send/official-abbreviations.htm */ | |
| $us_state_abbrevs_names = array( | |
| 'AL'=>'ALABAMA', | |
| 'AK'=>'ALASKA', | |
| 'AS'=>'AMERICAN SAMOA', | |
| 'AZ'=>'ARIZONA', | |
| 'AR'=>'ARKANSAS', |