first commit
This commit is contained in:
9
wp-content/themes/solarify/js/featured-content-admin.js
Normal file
9
wp-content/themes/solarify/js/featured-content-admin.js
Normal file
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Featured Content admin behavior: add a tag suggestion
|
||||
* when changing the tag.
|
||||
*/
|
||||
/* global ajaxurl:true */
|
||||
|
||||
jQuery( document ).ready( function( $ ) {
|
||||
$( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } );
|
||||
});
|
||||
Reference in New Issue
Block a user