WordPress media manager multiple selection output

It was just my mistake… I’ve forgotten improve var selection jQuery(document).ready(function($){ var custom_uploader; $(‘#upload_image_button’).click(function(e) { e.preventDefault(); //If the uploader object has already been created, reopen the dialog if (custom_uploader) { custom_uploader.open(); return; } //Extend the wp.media object custom_uploader = wp.media.frames.file_frame = wp.media({ title: ‘Choose Image’, button: { text: ‘Choose Image’ }, multiple: true }); custom_uploader.on(‘select’, … Read more

WordPress theme & site not loading after moving files

If you cannot login, use FTP or the file manager to edit wp-config.php and define WP_HOME and WP_SITEURL,. define( ‘WP_SITEURL’, ‘http://www.security-shell.com ‘); define( ‘WP_HOME’, ‘http://www.security-shell.com ‘ ); When you moved files to that subfolder, you probably copied and edited the main index.php file. Make sure that that process gets reversed. That should get things working … Read more