how to remove / hide ‘featured image’ option from side menu

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

After reinstalling wordpress images do not appear in posts?

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

Upload image to wordpress using ionic/cordova with WP REST API V2

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