wp-pwa / saturn-app-theme-worona

Saturn theme for worona apps
1 stars 0 forks source link

Post view is broken when a post has no media #31

Closed orballo closed 7 years ago

orballo commented 7 years ago

Error: screenshot 2017-07-14 13 37 00

PostList should never allow a post without media to be the first one. Maybe we should create a PostCard for items without media.

edited by @poliuk: take a look at https://github.com/worona/saturn-app-theme-worona/issues/33 once you have fixed this issue

Poliuk commented 7 years ago

I think this issue is related to #7 Define post-list layout. We have to decide the kind of cards and the layout we are going to implement.

luisherranz commented 7 years ago

Sometimes FeatureMedia may be undefined. I'm not sure why, but it's a problem of WP or the WP-API. We solved it in the other themes: https://github.com/worona/starter-app-theme-worona/issues/11