php - How to go about modifying the Wordpress "Pages Add New Screen" -
i have been thinking developing own theme framework worpdress. i'd use jquery ui build bootstrap 3.0 drag , drop interface, have worked out, can't figure out how edit "pages add new screen" referenced here: https://codex.wordpress.org/pages_add_new_screen
would add files client side theme affected admin structure well? have suggestions how this. alot of themes these days come these drag , drop frameworks , nice, able create 1 of own, need direction on start editing / looking.
we add custom meta box , our thing inside it.
there some hooks not meta boxes , can use insert content admin page:
add_action( 'edit_form_top', function( $post ) { echo '<h1 style="color:red">edit_form_top</h1>'; }); add_action( 'edit_form_after_title', function( $post ) { echo '<h1 style="color:red">edit_form_after_title</h1>'; }); add_action( 'edit_form_after_editor', function( $post ) { echo '<h1 style="color:red">edit_form_after_editor</h1>'; }); add_action( 'edit_page_form', function( $post ) { // edit_page_form pages, other rest of post types echo '<h1 style="color:red">edit_page_form/edit_form_advanced</h1>'; }); add_action( 'dbx_post_sidebar', function( $post ) { echo '<h1 style="color:red">dbx_post_sidebar</h1>'; });
the widget_text
block belongs advanced custom fields (it's repeatable/sortable field). i'm not sure anymore, think removes meta box borders css or jquery.
Comments
Post a Comment