Move the Position of the WordPress Visual or HTML Editor below sortables boxes
-
Move the Position of the WordPress WYSIWYG Visual Editor below sortables boxes on edit.php only for a certain custom post. (note that you have to change custom_postype_name for the postype name)
In functions.php you have to add this code.
function admin_footer_hook(){ global $post; if ( get_post_type($post) == 'name_of_custom_tpostype') { ?> <script type="text/javascript"> jQuery('#normal-sortables').insertBefore('#postdivrich'); </script> <?php } } add_action('admin_footer','admin_footer_hook');
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘Move the Position of the WordPress Visual or HTML Editor below sortables boxes’ is closed to new replies.