# Blog thumbnails on index.php without setting featured image

**URL:** <https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688>\
**Category:** Pinegrow WP\
**Created:** [February 13, 2017, 2:13am UTC](https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688 "2017-02-13T02:13:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsc1977](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dsc1977](https://forum.pinegrow.com/u/dsc1977)\
**Post date:** [February 13, 2017, 2:13am UTC](https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688/1 "2017-02-13T02:13:01Z")

</div>

Im building a blog index.php page with Blocks for WP. And Im trying to have the first image or video show as the thumbnails without having to set a featured image. Is this possible ? I often have videos so I need the thumbnail to show the first video or pic in the post.

The wordpres Twenty Twelve theme does this as a example - grabs the first picture or video in the post as the thumbnail.

Here is twenty twelve without featured image set:

 ![](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/1X/9cd17b40289d16f971946cc1d9d0d6fab4c4b93e.png)

And here in the Blocks for WP without featured image set:

> **[Screen Shot 2017-02-12 at 5.49.51 PM.png](https://drive.google.com/file/d/0B9Vjxu43ojYHMkM2dk9NT3pmN0E/view?usp=drive_open)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [February 13, 2017, 5:59am UTC](https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688/2 "2017-02-13T05:59:30Z")

</div>

Try to replace the WordPress excerpt action with the WordPress content action. (there is probably more to do to fit your needs but that should be a good beginning).

---

<div class="post-metadata">

**Author:** ![dsc1977](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dsc1977](https://forum.pinegrow.com/u/dsc1977)\
**Post date:** [February 13, 2017, 6:54am UTC](https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688/3 "2017-02-13T06:54:32Z")

</div>

Thanks that works!

 ![](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/1X/511b320db70bd0d8516ec3d5d68249224614ca43.png)

---

<div class="post-metadata">

**Author:** ![dsc1977](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dsc1977](https://forum.pinegrow.com/u/dsc1977)\
**Post date:** [February 13, 2017, 10:30am UTC](https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688/4 "2017-02-13T10:30:44Z")

</div>

Im trying to do this now in Wordpres Starter Theme (Static Front Page & Blog).

Currently index.php (blog) does not show thumbnails without featured image. It goes to lib.html page to edit.

How would I go about this with Starter Theme 1.2 ? I have youtube videos on a lot of blog posts and would like to be able to just click play from the blog index.php page. Thanks

---

<div class="post-metadata">

**Author:** ![dsc1977](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@dsc1977](https://forum.pinegrow.com/u/dsc1977)\
**Post date:** [February 14, 2017, 6:09am UTC](https://forum.pinegrow.com/t/blog-thumbnails-on-index-php-without-setting-featured-image/688/5 "2017-02-14T06:09:30Z")

</div>

Got it working in Starter Theme, turns out I had to refresh my browser a few times to get the old version cache cleared.
