WP_get_image_editor resizing images in a foreach loop

wp_get_image_editor can return a WP_Error object, which appears to be what’s happening in the code. The code never checks for this and tries to resize an image, thinking it’s calling resize on an image editing object. You need to make 2 adjustments: check if $editor is a WP_Error object add code to print out the … Read more

Disable Plugin or JS on Specific Admin URLs

I found a way to resolve it: I installed and activated Plugin Organizer WP Plugin Used Settings: Fuzzy URL matching = ON Ignore URL Protocol = ON Ignore URL argument = ON Auto trailing slash = ON Selective Plugin Loading = ON (very important) Selective Admin Plugin Loading = ON (very important) Created a new … Read more

Contact Form 7 – Make a selection unavailable after a number of bookings

It is possible with the Smart Grid-layout Extension for CF7C plugin. The smart grid plugin has a [dynamic_dropdown] tag which allows you to filter the options. Replace your dropdown menu with a dynamic dropdown and in the tag Custom Source select the Custom tab, you can then populate the dropdown dynamically using, add_filter(‘cf7sg_dynamic_dropdown_custom_options’, ‘filter_options’,10,3); function … Read more