updated query results
This commit is contained in:
@@ -74,10 +74,11 @@ class Partnerexpo_Core_Public {
|
||||
|
||||
foreach ($query->posts as $post) {
|
||||
$posts[] = [
|
||||
'id' => $post->ID,
|
||||
'title' => $post->post_title,
|
||||
'slug' => $post->post_name,
|
||||
'url' => get_permalink($post),
|
||||
'id' => $post->ID,
|
||||
'title' => $post->post_title,
|
||||
'image' => get_the_post_thumbnail_url($post->ID),
|
||||
'excerpt' => $post->post_excerpt,
|
||||
'url' => get_permalink($post),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user