Post > Media > Menu
-
Hello,
Found your pluggin but I’m struggling to use it. The drop down menu in Post > Images > Add Media window still displays the default three sizes plus full size.
I have entered these values into my functions.php file:
add_theme_support('post-thumbnails'); add_image_size('slider', 960, 430, true); add_image_size('about', 210, 147, true); add_image_size('gallery', 161, 161); add_image_size('brokerage-thumbnail', 161, 147); add_image_size('brokerage-medium', 161, 161); add_image_size('brokerage-large', 530, 465); add_filter('image_size_names_choose', 'my_custom_sizes'); function my_custom_sizes($sizes){ return array_merge($sizes, array( 'slider' => __('Sliding'), 'about' => __('About'), 'gallery' => __('Gallery'), 'brokerage-thumbnail' => __('Brokerage'), 'brokerage-medium' => __('Brokerage S'), 'brokerage-large' => __('Brokerage L') ) ); }
I’m I doing correctly?
Regards,
Sam
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Post > Media > Menu’ is closed to new replies.