Custom image size not working
-
Hi,
Trying out your plugin as it looks really useful!
I had tried using your filter in my functions file in order to change/replace the default image size brought in by the plugin.
It doesn’t seem to be having any effect for me.
My code here:
add_filter( 'menu_image_default_sizes', function($sizes) { // remove the default 36x36 size unset($sizes['menu-36x36']); unset($sizes['menu-36x22']); // add a new size $sizes['menu-250x150'] = array(250,150); // return $sizes (required) return $sizes; });
I even used another plugin to help refresh out the thumbnails, but that had no effect either.
Any thoughts as to why this wouldn’t be working?
Thanks!
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Custom image size not working’ is closed to new replies.