# Is there any support for "Post Format"

**URL:** https://forum.pinegrow.com/t/is-there-any-support-for-post-format/712
**Category:** Pinegrow WP
**Created:** [February 20, 2017, 3:47am UTC](https://forum.pinegrow.com/t/is-there-any-support-for-post-format/712 "2017-02-20T03:47:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![greyguru](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/greyguru/32/33_2.png) [@greyguru](https://forum.pinegrow.com/u/greyguru)
#### Post date: [February 20, 2017, 3:47am UTC](https://forum.pinegrow.com/t/is-there-any-support-for-post-format/712/1 "2017-02-20T03:47:12Z")

</div>

My sites’ posts are often a mixture of formats: some have a featured image, some are lengthy stories, some are just a couple of dozen words, some are mostly a photo gallery, and some may be a single image. When a number of these are listed together, a single format isn’t adequate. WordPress has a feature call post format, and the only support that I can find for in in Pinegrow is the line in functions.php which says that my theme supports all of the standard formats.

My problem is that as soon as I put some PHP in (say) category.html, like:

> if ( has\_post\_format( ‘video’ )) {  
> echo ‘this is the video format’;  
> }  
> then my understanding is that Pinegrow probably breaks.

So my question is did I miss some Pinegrow function that would allow me to output X if it’s an aside and Y if it’s an image and Z otherwise, or, if not, is there another way to do what I want?

Many Thanks!

---

<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 20, 2017, 2:41pm UTC](https://forum.pinegrow.com/t/is-there-any-support-for-post-format/712/2 "2017-02-20T14:41:07Z")

</div>

When there is no support in Pinegrow UI for a specific case or feature, this is where you have to hand-tweak your theme according to your needs 🙂

As a start, maybe you can have a look at this: [https://codex.wordpress.org/Post\_Formats](https://codex.wordpress.org/Post_Formats)

---

<div class="post-metadata">

### Author: ![greyguru](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/greyguru/32/33_2.png) [@greyguru](https://forum.pinegrow.com/u/greyguru)
#### Post date: [February 20, 2017, 10:28pm UTC](https://forum.pinegrow.com/t/is-there-any-support-for-post-format/712/3 "2017-02-20T22:28:36Z")

</div>

Thanks. I’d been there. That’s where the snippet of PHP came from, I think. My worry was that putting PHP in the pinegrow “source” (category.html) would break it. However, today I saw that the page single,html from wp Starter has php all through it, so I’m going to stop worrying and try it!
