https://github.com/log1x/acf-move-wp-editor
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
https://github.com/log1x/acf-move-wp-editor
acf acf-field wordpress wordpress-plugin
Last synced: about 1 year ago
JSON representation
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
- Host: GitHub
- URL: https://github.com/log1x/acf-move-wp-editor
- Owner: Log1x
- Created: 2017-09-13T22:20:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-03-02T10:54:29.000Z (over 4 years ago)
- Last Synced: 2025-04-30T17:04:39.870Z (about 1 year ago)
- Topics: acf, acf-field, wordpress, wordpress-plugin
- Language: PHP
- Size: 72.3 KB
- Stars: 34
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ACF Move WP Editor
[](https://packagist.org/packages/log1x/acf-move-wp-editor)
[](https://packagist.org/packages/log1x/acf-move-wp-editor)
This is a simple ACF Field that moves the WordPress content editor of a post or page to the location of this field.
This can be useful for cleaning up your Edit Post screen with something like ACF tabs:

## Installation
Install ACF Move WP Editor using Composer:
```
$ composer require log1x/acf-move-wp-editor
```
## Recommended Filters
The filters below remove the TinyMCE editor feature that expands its container to the height of the content as well as removes the option from the Help menu.
```php
/**
* Unregister the editor expand script.
*
* @return void
*/
add_action('admin_init', function () {
wp_deregister_script('editor-expand');
});
/**
* Disable TinyMCE's autoresize.
*
* @param array $init
* @return array
*/
add_filter('tiny_mce_before_init', function ($init) {
unset($init['wp_autoresize_on']);
return $init;
});
```