Display more page data in search results

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") 
     $searchResult.object.renderContent(...) 
# else 
     < handle attachments, users, status updates > 
#end
CODE

Cookie Notice

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

OK Don't track me.