Get post thumbnail in wordpress

By admin / 11:46 pm, 15 May 2016 / Wordpress / 0 Comment

If you want to add custom class in thumbnail image then add thumnail array :-

In case if you set a default post thumbnail , use this :-

If you want to apply your custom thumbnail size, then simply change the array(100,100) to whatever you like. Here it is :-

Previous Post
Next Post