get the post thumbnail
How can I make create other post feature image by using slug?
Currently I am using this script
57 is post ID
But I wanna it to be something like this
get_the_post_thumbnail(‘my slug’, ‘thumbnail’)
I don’t wan to use ID to call the post, I wan to call by using slug name, is it possible?
- The topic ‘get the post thumbnail’ is closed to new replies.