updated query results

This commit is contained in:
2026-02-01 13:27:34 +01:00
parent 58961157dd
commit 4bd996cd5c
2 changed files with 23 additions and 37 deletions

View File

@@ -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),
];
}