Forum

Thread tagged as: Question

Get Template HTML From Array

Is there a way to get the template html from an array of results, I'm using the skip-template option to manually filter results then I want to re-get the template from the filtered results.

$results = perch_content_search($query, [
    'count' => null,
    'apps' => array('PerchBlog'),
    'skip-template' => true
]);

// Filter results
...

// Re-get template Html
??
Fishtank Creative

Fishtank Creative 2 points

  • 5 years ago