Notice: Undefined index: key in wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php on line 349
Notice: Undefined index: key in wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php on line 350
| import { cookies } from './lib/cookies'; | |
| import modal from './lib/modal'; | |
| $(document).ready(function() { | |
| modal(cookies); | |
| }); |
| import { helloWorld } from './lib/hello-world'; | |
| import sayHello from './lib/say-hello'; | |
| $(document).ready(function() { | |
| sayHello(helloWorld); | |
| // Hello Friend | |
| }); |
| <?php | |
| function list_thumbnail_sizes($type = 'all', $name = '') { | |
| global $_wp_additional_image_sizes; | |
| $sizes = array(); | |
| $rSizes = array(); | |
| foreach (get_intermediate_image_sizes() as $s) { | |
| $sizes[$s] = array(0, 0); | |
| if (in_array($s, array('thumbnail', 'medium', 'large'))) { | |
| $sizes[$s][0] = get_option($s . '_size_w'); | |
| $sizes[$s][1] = get_option($s . '_size_h'); |
| <?php | |
| /** | |
| * Plugin Name: Convert ACF PHP to JSON | |
| * Description: Convert Advanced Custom Fields Pro configuration from PHP to JSON. | |
| */ | |
| namespace ConvertAcfPhpToJson; | |
| /** | |
| * Add submenu item under 'Custom Fields' |
| <?php | |
| # Register custom post types on the 'init' hook. | |
| add_action( 'init', 'my_register_post_types' ); | |
| /** | |
| * Registers post types needed by the plugin. | |
| * | |
| * @since 1.0.0 | |
| * @access public |
Notice: Undefined index: key in wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php on line 349
Notice: Undefined index: key in wp-content/plugins/advanced-custom-fields-pro/includes/acf-field-functions.php on line 350
This is for when you use the WordPress Plugin Boilerplate generator as starter for a WordPress plugin.
This is a way to get Sass set up and have Javascript use module dependency with webpack as the module bundler.
Follow the steps below to get started.
These notes are a quick reminder to myself about how to install and how to update an Icomoon font pack.
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } |