07-27-2023, 11:24 AM
I have a wordpress installation. What i'd like to do is call data directly from the wordpress tables in the database and display them on some other non-wordpress pages.
At the moment i'm successfully pulling in the three most recent posts from the **wp_posts** table. I can't however see in the schema where the post thumbnail (or featured image) are stored.
How can I get either the featured image, or thumbnail? (either will do!)
Thanks in advance!
At the moment i'm successfully pulling in the three most recent posts from the **wp_posts** table. I can't however see in the schema where the post thumbnail (or featured image) are stored.
How can I get either the featured image, or thumbnail? (either will do!)
Thanks in advance!