get post image in wordpress

To get Post image use following code:

You can also get the woo-commerce product image using same code.

 

Share This:

Leave a Reply

Your email address will not be published. Required fields are marked *