How to display an image url from thumbnail in wordpress?
Answer / Pallavi Singh
To display an image URL from a thumbnail in WordPress, use the following code:n`echo wp_get_attachment_image( $attachment_id, 'thumbnail' );` Replace `$attachment_id` with the ID of the attachment (post or custom post type) containing the thumbnail.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to take the backup of a wordpress site?
Where is WordPress content stored?
Can you downgrade your wordpress plan?
Is wordpress or wix better?
What is a loop in wordpress?
How many tables are there in WordPress by default?
What is difference between static and dynamic websites?
What are some good themes?
How do I upgrade wordpress?
Is wix cheaper than wordpress?
What is the purpose of a blog?
How do I restore?