Site logo

Archived topic

Understanding post formats

1 reply · Started by Brian on October 14, 2022

Viewing posts 1–2 of 2

In the recent https://www.theverge.com/ revamp, they are doing short posts mixed in with longer articles.

I thought I might do something similar on the site I manage, eg I could put up a tweet for example, or a photo or video.

Wordpress has post formats built-in https://wordpress.org/support/article/post-formats/ which I assume I could use.

The issue is when I tick the different options in the editor backend nothing seems to change. Eg if I tick aside nothing changes, I thought the title section might disappear as aside don't have titles. Is this the way its meant to work or is something broke in my install?

Is there any info of using the different post formats in generatepress? I did not see anything in the documentation.

Any advice is appreciated.

Hi Brian,

GP doesn't really have any specific settings for each post format other than the excerpt mentioned here:
https://docs.generatepress.com/article/excerpt-issues/#full-post-content-displaying-while-using-excerpt

Other than that, the post type would show in the HTML markup:
https://www.screencast.com/t/45GOXokMD

I thought the title section might disappear as aside don’t have titles.

We can achieve this with a layout element and a filter:
https://docs.generatepress.com/article/layout-element-overview/#disable-element
https://docs.generatepress.com/article/generate_element_display/

Hope this provides some insights.

This archived topic is closed to new replies.