Organizational Research By

Surprising Reserch Topic

how do you set only the image width of a wordpress thumbnail


how do you set only the image width of a wordpress thumbnail  using -'wordpress'

I am trying to set the width of a post thumbnail using

the_post_thumbnail().

The width of the image needs to be 210px but the height is not meant to be fixed as all the images will be different sizes. I have tried

the_post_thumbnail(array(210,0))

but this does not work. Any ideas?

Thanks
    
asked Oct 23, 2015 by sumit_jaiswalmca
0 votes
0 views



Related Hot Questions



Government Jobs Opening


...