Archived topic
Custom post types Meta in Search Results list
3 replies · Started by Maria Rowena on May 10, 2020
Hello Support Team,
I notice that the way blog results appear in my search result page is different from how custom post types appear.
Take a look at this photo-->https://snipboard.io/6OCa8T.jpg
As you can see there, the first 5 results are custom post types (title only) while the next two are blog posts (title, categories and other meta details are available). Is there a way to make all search results look like the blog post search result? I mean, I just want it all to have the avatar of author, published or even views.
By the way, I customized the single blog post that's why it has views and minute read. If that is not possible to other custom post type, I just want the search result to at least display the available meta for each post.
Hope you can help me. Thank you so much in advance.
Hi there,
You may need to activate post meta on your CPTs with this filter: https://docs.generatepress.com/article/generate_entry_meta_post_types/
Let me know :)
Thank you so much Tom!! My fault. I did not read that one. Everything works well now. Keep it up the best support! More power to GeneratePress Team.
Glad I could help! :)