Unable to delete images in Media Library
Unable to delete images in Media Library
Unable to delete images in Media Library
Somewhere in your theme or parent theme, there’s this line: add_theme_support( ‘post-thumbnails’ ); If it’s in your child theme, you can simply remove it. If it’s in your parent theme, you can add this to your child theme functions.php file. // in your Child Theme’s functions.php // Use the after_setup_theme hook with a priority of … Read more
WordPress not choosing the right image from srcset
I am assuming you used the WordPress Importer? Did you select the “Import images” option? I think this would solve your issue. To clarify on the issue: Your images were not imported in the wp_posts database. They are stored in there as an “attachment” post type. The WP Gallery Shortcode references the id of each … Read more
The Advanced Options section you are talking about the one in the Image Details, the modal that shows when clicking here: that part is tinyMCE, its part of the tinyMCE editor, none of these fields are being saved in the WordPress database: this is just and interface to gather data that will be set in … Read more
you can plain javascript file upload for this with ionic framework. const url=”YOUR_WP_ACTION_RUL”; const form = document.querySelector(‘form’); form.addEventListener(‘submit’, e => { e.preventDefault(); const files = document.querySelector(‘[type=file]’).files; const formData = new FormData(); for (let i = 0; i < files.length; i++) { let file = files[i]; formData.append(‘files[]’, file); } fetch(url, { method: ‘POST’, body: formData }).then(response … Read more
Hmm, I figured it out. I changed the thumbnail AND removed the needed class img-responsive to apply responsive dimensions. Once I kept those all was fine. –
Menu items are saved as posts with the post_type “nav_menu_item”. This means you can assign postmeta to them just like you can with posts and create custom fields in the menu edit screen to enter an img url or assign a media ID. You can follow this tutorial about adding custom meta to menu items … Read more
Display setting ‘size’ not available in image settings modal
I’ve found this useful article explaining the solution to your issue: https://ayanize.com/snippets/how-to-use-divi-builder-blurb-module-as-a-toggle-to-display-or-hide-content/ I hope this information will be helpful to you. Have a nice day.