I hereby claim:
- I am pdclark on github.
- I am pdclark (https://keybase.io/pdclark) on keybase.
- I have a public key ASDUDwwuNpqmQCD-5gMd29Wf_iAEsohgabdyE4SFBjzXhwo
To claim this, I am signing this object:
/** | |
* Use with a user stylesheet plugin. | |
* For example: https://chrome.google.com/webstore/detail/minimalist-for-everything/bmihblnpomgpjkfddepdpdafhhepdbek?hl=en-US | |
* | |
* ## Minimalist Setup: | |
* Dashboard > Add Module > Edit | |
* Set @includes to: *wordpress.org* | |
* Add Option: Paste this file into "CSS" | |
* Save Changes | |
*/ |
/** | |
* This script should be pasted into a Browser debug console | |
* after clicking the Highrise links to show all deals. | |
* | |
* It may need to be run several times to deal with the massive amount | |
* of AJAX queries. | |
*/ | |
// Inject jQuery | |
var s=document.createElement('script'); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
I hereby claim:
To claim this, I am signing this object:
<?php | |
/** | |
* Plugin Name: AJAX Enqueue Script Example | |
* Description: Set a random background color from values calculated in PHP. Load random words from a remote API. Update every 3 seconds. | |
* | |
* @see https://gist.github.com/pdclark/5570bb145a1aa5f63f98b6bfd0783a9a | |
* For a version using WP REST API. | |
*/ | |
/** |
<?php | |
/** | |
* Plugin Name: AJAX Enqueue Script with REST API Example. | |
* Description: Set a random background color from values calculated in PHP. Load random words from a remote API. Update every 3 seconds. | |
*/ | |
/** | |
* Data sent in JSON via wp_localize_script() for initialData and wp_ajax action for update_data. | |
*/ | |
add_filter( |
<?php | |
/** | |
* Plugin Name: Block — Hi Test | |
* Description: The shortest possible example PHP-rendered WordPress block. | |
* Author: Paul Clark | |
* Author URI: https://pdclark.com | |
* | |
* @package hi | |
*/ |
<?php | |
/** | |
* Plugin Name: PD Blocks — Example OOP with attributes | |
* Description: Single-file OOP PHP-rendered WordPress blocks with 5 example blocks. | |
* Author: Paul David Clark | |
* Author URI: https://pd.cm | |
* Plugin URI: https://pd.cm/oop-blocks | |
* Version: 30 | |
* | |
* @package pd |
<?php | |
/** | |
* Plugin Name: Pods — Block | |
* Description: Gutenberg block to wrap the `[pods]` shortcode. | |
* Author: Paul Clark | |
* Author URI: https://pdclark.com | |
* Plugin URI: https://pd.cm/pods-block | |
* Version: 28 | |
* | |
* @package pd |