what does the following means?

Moderator: forum_m

Post Reply
hadad2016
Posts: 190
Joined: December 18th, 2015, 4:06 am

what does the following means?

Post by hadad2016 » March 21st, 2016, 5:00 pm

Hi;

Can you please tell me what does the following means?
In code: add_image_size('home_slider_thumb',1920,650,true);
Thank you so much

support_staff
Posts: 7199
Joined: February 26th, 2015, 1:40 pm

Re: what does the following means?

Post by support_staff » March 22nd, 2016, 10:21 am

Hi,


Its wordpress's image resize function. It resize image to defined size.

When you upload feature image to slider, using this function, image is resized to 1920*650 size.


For more detail, please follow the LINK https://developer.wordpress.org/referen ... mage_size/.


Thanks.

Post Reply

Return to “Theme Installation, Settings & Configuration, Problem, Error & Bug”