Display Thumbnails on the Frontend
Explore how to display thumbnails on frontend WordPress posts by using the_post_thumbnail() and the_post_thumbnail_url() functions. Learn to organize images and content in columns and make thumbnails clickable to link to individual pages for teachers and courses.
We'll cover the following...
We'll cover the following...
Display image on a teacher post
Now that the teacher post has an image associated with it, we can use it on the frontend. Open the single_teacher.php file. We want to display the thumbnail image next to the content.
Inside the <div> with CSS ...