You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.


Display more page data in search results

Thomas Walker

Thomas Walker Last update: Oct 16, 2017

If your search result represents a page or a blogpost then $searchResult.object is a Page placeholder. The search result types are defined here.

For example, you would need something like this: 

#if ($searchResult.type == "page" || $searchResult.type == "blog_post") 
# else 
     < handle attachments, users, status updates > 
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.