Multiple image selection custom widget

I’ve found a solution by myself! With two lines of code I’m now able to save all the selected images and then retrive them on the front-end. I have added an array in the JS code part: // media library script (function($){ $(document).ready(function(){ $(document).on(‘click’, ‘.upload_image_button’, function(e){ e.preventDefault(); var button = $(this); var file_frame = wp.media.frames.file_frame … Read more

imported post image as normal image instead encoded image

after several experiment to reproduce the problem under various circumtances, i found that the post’s image somehow already encoded in the first place, so this is not wordpress importer problem. for someone who might be experienced the same thing, could read this clue : https://stackoverflow.com/questions/19623011/wordpress-avoid-using-data-uri-scheme

AJAX and custom pages

I think there’s a misunderstanding here about how browser page requests work, and how PHP loads and runs WordPress When you make a request to WordPress, PHP loads WordPress and processes the page, then it’s all cleaned up and thrown away. Unlike other platforms such as Java or Python, there is no continuously running program … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)