WPIDE is an Advanced File Manager and Code Editor plugin for WordPress that you can use completely for free.
The Code Editor lets you edit any file within your wp-content folder, not just plugins and themes.
The included code completion will help you remember your WordPress/PHP commands providing function reference along the way. Edit multiple files with the tabbed editor.
The File Manager lets you copy, move, duplicate, create an archives, download, upload, edit, delete, preview files & directories without FTP or cPanel access.
WPIDE uses a very modern, clean and easy to use interface to make managing and editing your files a breeze! It comes with 6 different themes and a dark mode to reduce blue light exposure.
Did you know?
More than 700,000 WordPress websites were attacked during September 2020.
Malicious bots are looking to exploit vulnerable versions of WP file manager plugins.
Fortunately, WPIDE is built with security in mind and comes with this vulnerability fixed! So rest assured! WPIDE poses no risk to you!
▶️ VIDEO OVERVIEW
- Advanced File Manager
- File Tree Browser
- Smart context menu
- Customizable Root Path
- Create new files and directories
- Download files / folders (Batch support)
- Upload files / folders using drag n drop (Batch support)
- Zip / Unzip files and folders (Batch support)
- Deep search for files / folders by keyword
- Calculate folder size
- Advanced File Editor
- Editor Line numbers
- Editor Find + Replace
- Editor Syntax highlighting
- Editor Highlight Matching Parentheses
- Editor Automatic Indentation + Code Folding
- Editor keyboard commands / shortcuts
- Tabbed interface for editing multiple files
- WordPress and PHP code auto-completion
- PHP code parsing and validation
- PHP file backup before saving
- File Recovery Wizard
- Using WordPress filesystem API
- Beautiful Image Gallery
- Video / Audio Media Player
⭐️ PRO FEATURES
- Auto Save Feature: While editing, files will be auto saved every X seconds to a draft file. Original files are not affected. If you ever close the page by mistake without saving a file, you will be able to restore from the auto saved file.
- Auto Saved Quick Diff: You can view and compare differences between the auto saved and the current file using the Quick Diff Viewer, then decide if you wish to restore from the auto saved or keep the current file.
- Toggle Full Screen: This will allow you to toggle full screen the editor area by itself, giving you more space while editing on smaller screens.
- Advanced Mode Option: When enabled, all files and folders will be available for editing including core WordPress files and the wp-config.php file.
- View all defined constants within wp-config.php
- Add / Update / Remove constants
- Prevent Duplicated Constants
Advanced Image Editor
- Resize / Crop Images
- Apply filters
- Add Frames / Corners
- Add Text / Stickers
- Add Patterns / Gradients
- View Tables
- Create New Tables
- Add / Update / Delete Rows
- Update Table Structure
- Update Column Indexes
- Safe Editing Enabled
- Upload the WPIDE folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Access WPIDE by clicking the WPIDE menu item in your main administration menu
What is in place to stop me from breaking my website – “The white screen of death”
When you edit a PHP file, before that file is saved to the filesystem it is syntax checked to make sure there isn’t something obvious that will break your site.
Every file that you edit is backed up before your first save to the filesystem and then on subsequent saves WPIDE will try and make a backup. It will save a maximum of files for up to 5 days to the server.
As you edit or more specifically save PHP files, in case of a fatal error, the File recovery Wizard will appear and a restore button will display which will allow you to restore the most recent backup.
If your WordPress install is fully functional then you can use the file manager to browse all of your backed up files (/upload/wpide/backups/), if your WordPress install isn’t responding then restoring the file directly via FTP/SSH is the only way.
The backed up PHP files cannot be accessed/restored from the web directly without the 40 digit nonce/key so should not pose a security concern.
Can I override the default file permissions when creating files/directories on the local filesystem
Yes you can use the below WordPress settings in wp-config.php which will affect files created with WPIDE and files added during the WordPress upgrade process.
define(‘FS_CHMOD_DIR’, (0755 & ~ umask()));
define(‘FS_CHMOD_FILE’, (0644 & ~ umask()));
Some hosts might disable direct access to PHP files which will block the plugin from accessing them.
Some users reported this issue on Cloudways, and they were able to fix it by enabling Direct PHP File Access under application settings within Cloudways dashboard.
This option might be available on other hosting platforms as well.
Contributors & Developers
“WPIDE – File Manager & Code Editor” is open source software. The following people have contributed to this plugin.Contributors
“WPIDE – File Manager & Code Editor” has been translated into 1 locale. Thank you to the translators for their contributions.
Interested in development?
3.4.6 – 10.12.2022
- fix: Instead of ABSPATH, use the correct root path, relative to the plugin in case WordPress Files are located outside the root directory, which is the case if the site is hosted on WordPress.com.
- fix: Minor fixes
3.4.5 – 07.12.2022
- new: Pro Config Manager | Added new visual config manager to easily Add, Update or Delete constants within the wp-config.php file
- new: Pro File Manager | Added new Advanced Mode option. When enabled, all files and folders will be available for editing including core wordpress files and the wp-config.php unless they are filtered out manually within the settings.
- new: Pro File Editor | Added new Auto Save option. While editing, files will automatically be saved every X seconds to a temporary draft file. Original files are not affected. If you every close or refresh the page by mistake without manually saving a file, the next time you open it, a File Recovery modal will display allowing you to restore from the auto saved file. You can also view and compare both files differences using the Quick Diff Viewer. https://d.pr/v/l6SQjD
- new: File Editor | Added option to increase / decrease font size within the toolbar
- enhance: File Editor | In dark mode, highlighted text bg color will now inherit the theme accent color
- support: Added multisite support
- fix: Settings | Fixed issue with the repeater field.
- fix: Fixed scrolling issue on Firefox
- fix: When opening a file, show popup error if for some reason the file does not exist, (deleted from another window) or has no read / write permissions.
- fix: Minor fixes
- update: Update Freemius SDK
3.4.4 – 19.10.2022
- new: Pro File editor | Added new Toggle Full Screen option within the tool bar
- fix: Fixed Class ‘finfo’ not found error appearing on servers without fileinfo extension by adding a fallback function.
- fix: Minor fixes
3.4.3 – 27.09.2022
- new: Added .svg and .yaml file extensions to the editable file extensions option.
- new: Added new filter wpide_editable_ext_options to allow adding new extensions to the list by 3rd party.
- support: Support SVG syntax check / highlighting
- fix: Fixed bug with single file upload
- fix: Fixed issue with soft tabs
- enhance: Remove uppercase CSS from breadcrumbs. Replaced “Home” with the name of the root folder. Added a nice drive icon.
- enhance: Faster file load and switching between display types
- enhance: Keep current active file display type after reloading the page
- enhance: Keep current active settings tab after reloading the page
- fix: Fixed WP admin menu scroll glitch
- new: Added right click context menu on folders & files within the file manager and the editor
- new: Added sort dropdown above file manager
- update: File Tree within the File Editor is now sorted by name (asc)
- fix: Pro Image Editor | Fixed glitch with revert image function
- fix: Minor fixes
3.4.2 – 05.09.2022
- support: Support windows server / xampp on windows
- fix: Minor CSS fixes
3.4.1 – 17.08.2022
- new: Added append content hash when loading js / css chunks to force cache busting making sure always the latest version is used
3.4 – 16.08.2022
- new: File Editor | Added new Settings tab
- new: File Editor | Added Scroll Speed option
- new: File Editor | Added an option to disable Behaviours, such as auto closing tags and brackets
- new: File Editor | Added option to enable / disable Soft Tabs
- new: File Editor | Using the enter key within the search input will now take you to the next occurrence
- new: File Editor | After selecting text then pressing the Ctrl-F key, the search input will focused and populated with the selected text
- new: File Editor | File Tree | Added file manager action menu for each item.
- new: File Manager | Added new item actions: Create folder, Create file, Duplicate
- new: File Manager | The default zip name, which can be changed within the settings, will only be applied when batch zipping or downloading. For a single item, the item name will be used by default instead.
- fix: Minor fixes
3.3 – 02.08.2022
- support: PHP 8+ Support
- support: To use WPIDE on a lower PHP version, use v2.6 or below.
- update: Updated PHP required version to 7.4.0
- update: Better installation / update handling for the fatal-error-handler.php drop-in to make sure the latest version is always used.
3.2 – 30.07.2022
- fix: Fix corrupt file
- fix: Replace symfony session with transients to avoid session issues with other plugins
3.0 – 30.07.2022
- new: A brand new and completely revamped version of WPIDE.
2.6 – 26.04.2022
- update: Plugin acquired by XplodedThemes
- update: A brand new and completely revamped version of WPIDE is coming soon, Stay tuned!
2.5 – 2020.04.13
- update: getting the plugin back to life
- update: started big code cleanup
- update: completely removed experimental Git features
- support: fully compatible with latest WordPress
- new: Context menu option added to file browser to rename, delete, download, zip, unzip!! thanks to shanept https://github.com/shanept for the code behind this.
- new: find+replace
- update: Stopped using the full functionality of sanitize_file_name() and using a cut down version instead that allows period, dash and underscore at the beginning and end of filename.
- fix: corrected invalid regex for determining image type
- update: Changed order of PHP4 compatible constructor in an attempt to stop a PHP Strict Standard error
- update: Update to Ace Editor 1.2.0
- update: Editor settings, so that it’s possible to change the theme and other editor features/behaviours
- new: New application icon in menu bar
- update: Update the Ace component to 1.1.1 which includes some bug fixes, a PHP worker (showing PHP errors as you work) and a greatly improved search box.
- update: Order folders and files alphabetically
- fix: As a quick fix I have commented out the git functionality as the namespacing used is causing issues with old versions of PHP
- new: Added initial git functions using the following library: PHP-Stream-Wrapper-for-Git from https://github.com/teqneers/PHP-Stream-Wrapper-for-Git
- new: Initial Git functionality added – it’s very experimental!
- new: Add restore recent backup facility – It’s a primitive implementation at this point but it does the job. See FAQ note.
- update: Turned on the LESS mode when a .LESS file is edited
- update: Made the autocomplete functionality only be enabled for PHP files otherwise it can be a pain to write txt files like this one!
- update: Ramped up the version number because the last one was just getting silly
- update: Interface changes to make the editor take up more screen space. Including hiding the WP admin menu and footer.
- fix: Fixed problem saving PHP documents – PHP-Parser library wasn’t included in the codebase correctly
- update: PHP syntax checking before saving to disk (Using: https://github.com/nikic/PHP-Parser)
- fix: Fixed error Warning: Creating default object from empty value in WPIDE.php
- update: Updated the ace editor to current build
- new: Added colour assist – a colour picker that displays when you double click a hex colour code in the editor (see other notes for info).
- new: Added a confirm box to stop you exiting the editor by mistake and losing unsaved changes.
- new: Added ‘wpide_filesystem_root’ filter (see other notes for info).
- update: A number of bug fixes.
- new: Added links to the WordPress codex and the PHP manual from within the function reference for further info
- update: Newly created files use to contain a space, instead it now defaults to a blank file.
- fix: Fixed a problem with file loading (ajax) indicator not showing.
- update: Upload snapshot of current ajaxorg editor (master/build/src) at 00:30 on the 22 May 2012. Which fixes some issues with selecting big blocks of text, code folding seems better with gutter interface hidden when not in use
- support: Fix browser compatibility issues
- update: Fixing issue with closing tabs not focusing onto next tab once closed.
- fix: Fixed issue with detecting ajax url correctly which was causing all WPIDE ajax requests to fail if WordPress was installed in a subdirectory.
- update: Stopped autocomplete from trying to work when a js/css file is being edited.
- update: Cleaned up the WPIDE class and modified the way the class is passed to WordPress actions/filters.
- update: On startup the editor page now shows extra debugging information for the filesystem API initialization.
- update: On startup the initial editor page now shows some startup info regarding file permissions to help with debugging.
- update: If WPIDE cannot access your files due to permissions then when it starts up it will give you an alert to say this.
- new: Image editing is now available using the SumoPaint image editor and drawing application http://www.sumopaint.com/
- new: You can now create new files/folders
- update: Recreated this plugin as a dedicated WPIDE section/app rather than extending the built in plugin/theme editor (just incase WP remove it)
- update: Now using the WP filesystem API (although currently restricted to local access)
- update: More security checks on file opening and editing
- new: Added new file tree for exploring the file system and opening files (any file in wp-content)
- update: Massive overhaul to code autocomplete functionality with the addition of function information right in the app
- update: Update the ajaxorg Ace Editor to the current branch
- new: Tabbed editing
- new: Added link to meta section of plugin list for easy install of V2 Dev version if you have dismissed the alert.
- new: Added the facility to download and run the cutting edge development version of WPIDE from the Github repository
- enhance: Organize and format source code
- update: Tidy and comment code
- new: Added message when backup file is generated
- fix: Adjust code complete dropdown position
- enhance: Improved editor responsiveness when using delete or enter keys
- fix: Fixed “Folder name case” issue.
- initial: Initial release.