jQuery( function( $ ) { $( '.post-type-gp_elements .page-title-action:not(.legacy-button)' ).on( 'click', function( e ) { e.preventDefault(); $( '.choose-element-type-parent' ).show(); $( '.choose-element-type .select-type' ).focus(); } ); $( '.close-choose-element-type' ).on( 'click', function( e ) { e.preventDefault(); $( '.choose-element-type-parent' ).hide(); $( '.page-title-action' ).focus(); } ); $( '.post-type-gp_elements' ).on( 'keyup', function( e ) { const $element = $( '.choose-element-type-parent' ); if ( e.key === 'Escape' && $element.is( ':visible' ) ) { $element.hide(); $( '.page-title-action' ).focus(); } } ); // Don't allow Elements to quick edit parents. $( '.inline-edit-gp_elements select#post_parent, .inline-edit-gp_elements .inline-edit-menu-order-input, .bulk-edit-gp_elements select#post_parent' ).each( function() { $( this ).closest( 'label' ).remove(); } ); } ); Hello world! – Blog

Hello world!

by

in

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!


Comments

One response to “Hello world!”

  1. Hi, this is a comment.
    To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
    Commenter avatars come from Gravatar.

Leave a Reply

Your email address will not be published. Required fields are marked *