template/wordpress/search.php in edge_framework-1.3.1 vs template/wordpress/search.php in edge_framework-1.3.2
- old
+ new
@@ -1,3 +1,6 @@
-<h1>Search result for '<?php echo get_search_query(); ?>'</h1>
+<?php
+$context = Timber::get_context();
+$context["query"] = get_search_query();
+$context["posts"] = Timber::get_posts();
-<?php get_template_part("content", "posts"); ?>
+Timber::render("search.twig", $context);
\ No newline at end of file