# 20 minutes course: image thumbnail uses PG\_Image instead of the\_post\_thumbnail

**URL:** https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773
**Category:** WordPress
**Created:** [February 11, 2020, 12:44pm UTC](https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773 "2020-02-11T12:44:45Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![mazzel](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mazzel](https://forum.pinegrow.com/u/mazzel)
#### Post date: [February 11, 2020, 12:44pm UTC](https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773/1 "2020-02-11T12:44:46Z")

</div>

Hi,  
I am looking at the online PG course how to create a basic WordPress theme in 20 minutes.  
Using PG 5.9.3, Bootstrap 4 html page in a new empty project. Wordpress 5.3.2.

Problem:  
Video: at time 06:00 the image in the column gets a wordpress action: The post thumbnail.  
It shows the generated php code: if(…) … the\_post\_thumbnail(‘large’);  
When I do the exact same actions here I do not get this php code, I get next code:

\<?php echo PG\_Image::getPostImage( null, 'large', null, 'height', null ) ?\>

Then exporting/saving I do see a page with posts lapping over each other. Images are very large, not size 200.

Any ideas?  
I did place the main-container-row-colum in the right place so no DIV issues here.

---

<div class="post-metadata">

### Author: ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)
#### Post date: [February 12, 2020, 8:24pm UTC](https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773/2 "2020-02-12T20:24:36Z")

</div>

Welcome to the Pinegrow forum!

I have no Wordpress knowledge or experience, but I can point you to the **documentation**.  
Maybe you can find an answer or solution there.

> **[Post Featured Image | Pinegrow Web Editor](https://pinegrow.com/docs/wordpress/actions/post-featured-image/)**
>
> Post Featured Image action shows the featured image of the current post, or the post itself if the post is an image attachment.

---

<div class="post-metadata">

### Author: ![mazzel](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mazzel](https://forum.pinegrow.com/u/mazzel)
#### Post date: [February 13, 2020, 7:53am UTC](https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773/3 "2020-02-13T07:53:20Z")

</div>

Thanks Marf. I did see this item before but reading it does not make it easier.  
Somehow it looks like it does not work with the code that is presented in this 20 minutes course from PG.  
If someone has good examples then please share it.  
Many thanks.

---

<div class="post-metadata">

### Author: ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)
#### Post date: [February 13, 2020, 9:38am UTC](https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773/4 "2020-02-13T09:38:25Z")

</div>

I did a quick lookup and I think you are referring to this video

* * *

That’s an old(er) one, from 2015. Which was for **Pinegrow v2** , There is a lot changed since then! You can better follow and watch the more recent Wordpress Tutorials, to get a better understanding how things are working now in the current **v5** interface and learn also about the “Smart Actions”.

> **[Pinegrow WordPress Starter Theme 2 | Pinegrow Web Editor](https://docs.pinegrow.com/docs/wordpress/pinegrow-wordpress-starter-theme-2/)**
>
> The WordPress Starter Theme 2 (ST2) is a framework for quickly developing your own custom themes based on Bootstrap 4, SASS and WooCommerce.

> **[Pine Adventures – Creating a WordPress Theme Without PHP Coding | Pinegrow...](https://pinegrow.com/docs/wordpress/courses-tutorials/creating-wordpress-themes-without-php-coding/)**
>
> In the next hour or so we’ll create a real, production-ready WordPress theme – even if you never worked with WordPress before. We’ll do that with the help of Pinegrow with WordPress Theme Builder.

> **[Create a Personal Portfolio WordPress Theme – Tutorial | Pinegrow Web Editor](https://pinegrow.com/docs/wordpress/courses-tutorials/create-a-personal-portfolio-wordpress-theme-tutorial/)**
>
> In this tutorial we’ll use Pinegrow to convert a one-page portfolio website into a WordPress theme. In the process we’ll cover theme structure, customizer fields, loops with modals…

* * *

And there is a lot of Wordpress information in the **documentation**.

> **[Creating WordPress themes | Pinegrow Web Editor](https://pinegrow.com/docs/wordpress/)**
>
> Everything you need to start creating production-ready WordPress themes.

* * *

---

<div class="post-metadata">

### Author: ![mazzel](https://avatars.discourse-cdn.com/v4/letter/m/58956e/32.png) [@mazzel](https://forum.pinegrow.com/u/mazzel)
#### Post date: [February 13, 2020, 11:49am UTC](https://forum.pinegrow.com/t/20-minutes-course-image-thumbnail-uses-pg-image-instead-of-the-post-thumbnail/3773/5 "2020-02-13T11:49:03Z")

</div>

Ok you are right, I already had my doubts about the video from 4 yeards ago, since right now I am using latest versions for everything. But at least the video was nice to get some global understaning how the setup should be in a theme: header-main-footer (with or without sidebar), pages.html, single.html… so next for me is to skip this 20 minute video and dive in the others. Many thanks!
