I’m using the wp_editor command to provide the WordPress text editor on the frontend. With the editor, I need access to the “Gallery” tab that shows the current attachments for the page. I’ve set up the whole editor and it shows the usual “Upload/Insert” button, but loads a popup window that shows only 4 tabs at the top, without the “Gallery” tab.
Does anyone know how I can do this? Hopefully there’s a way to do just with the wp_editor options, but I don’t think so, so hopefully it could be done with some kind of filter in functions.php. Or anything else, whatever works. Please help!
Actually I don’t think so, I’m calling wp_editor on the actual page that I’m editing (as far as WordPress is concerned). Whenever the url ends with “?edit=true”, it loads the editor instead of the actual page content. So, whenever there’s the GET variable ‘edit’.