Used whenever there is room to display a long form date. These are the prefered format whenever possible.
Sunday, January 10, 2010 - 9:30pm
l, F j, Y - g:ia
Sunday, January 10 - 9:30pm
// Admin Functions | |
( function( $ ) { | |
// better accessiblity and data entry for ACF | |
$(document).ready( function() { | |
// if there is a an "after_title" field group | |
if ( $( '#acf_after_title-sortables' ).length ) { | |
// listen for keydown inside the main title field for any add/edit screen | |
$('body.post-new-php, body.post-php').on( 'keydown', '#title', function( e ) { | |
var keyCode = event.keyCode || event.which; | |
// if the key is tab |
### Settings > Advanced > Stripe > Stripe Styles | |
#### Base Style | |
{ | |
"color": "#333", | |
"fontWeight": "300", | |
"fontFamily": "Merriweather, serif", | |
"fontSize": "16px", | |
"letterSpacing": "0.5px", |
#!/bin/bash | |
# BEFORE YOU START: | |
# replace all instances of exampleproject with your real project usernames and local and remote paths | |
# make a backup of current local db | |
wp db export --add-drop-table | |
echo "✅ Make a backup of your current database state." |
#!/bin/bash | |
# Don't forget to enter your own email on line 19 and user Sites dir path on line 20 | |
# set the slug | |
read -p "Enter the slug for the new site:" SLUG | |
# set the mysql password | |
read -s -p "Enter a MySQL password:" MYSQLPASS | |
# setup the directory and basic settings |
<?php | |
$allowed_html = wp_kses_allowed_html( 'strip' ); | |
// empty array - strips all html | |
/* | |
Array(); | |
*/ |
<?php | |
/* | |
Plugin Name: Test Event Filter | |
Plugin URI: https://squarecandy.net | |
Description: | |
Version: 1.0.0 | |
Author: Square Candy Design | |
Author URI: http://squarecandydesign.com | |
Text Domain: squarecandy | |
*/ |
diff --git a/test-yikes-drag-drop.html b/test-yikes-drag-drop-withACF.html | |
index 90c9158..c3b6358 100644 | |
--- a/test-yikes-drag-drop.html | |
+++ b/test-yikes-drag-drop-withACF.html | |
@@ -34,10 +34,15 @@ img.emoji { | |
padding: 0 !important; | |
} | |
</style> | |
-<link rel='stylesheet' href='http://testwp.localhost/wp-admin/load-styles.php?c=1&dir=ltr&load%5B%5D=dashicons,admin-bar,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,wp-pointer,widgets&load%5B%5D=,site-icon,l10n,buttons,wp-auth-check&ver=5.0.1' type='text/css' media='all' /> | |
+<link rel='stylesheet' href='http://testwp.localhost/wp-admin/load-styles.php?c=1&dir=ltr&load%5B%5D=dashicons,admin-bar,common,forms,admin-menu,dashboard,list-tables,edit,revisions,media,themes,about,nav-menus,wp-pointer,widgets&load%5B%5D=,site-icon,l10n,buttons,wp-auth-check,wp-color-picker&ver=5.0.1' type='text/css' media='all' /> |
<?php | |
/** | |
* Custom Walker to extract current sister-sub-menu | |
*/ | |
class Custom_Walker_Nav_Sister_Menu extends Walker_Nav_Menu { | |
var $found_parents = array(); | |
function start_el(&$output, $item, $depth, $args) { |