🚑 Blog posts aren't pages.

This commit is contained in:
Clement Desmidt 2017-02-28 22:32:40 +01:00
parent 51cf511c23
commit ff5cf82476

View File

@ -45,7 +45,7 @@ function posts(&$garray) {
'html' => $post->attributes['body'], 'html' => $post->attributes['body'],
'image' => null, 'image' => null,
'featured' => 0, 'featured' => 0,
'page' => 1, 'page' => 0,
'status' => isset($post->attributes['publish_status']) ? substr( $post->attributes['publish_status'], 0, 150 ) : 'published', 'status' => isset($post->attributes['publish_status']) ? substr( $post->attributes['publish_status'], 0, 150 ) : 'published',
'language' => 'fr_FR', 'language' => 'fr_FR',
'meta_title' => null, 'meta_title' => null,