template/wordpress/single.php in edge_framework-1.3.1 vs template/wordpress/single.php in edge_framework-1.3.2
- old
+ new
@@ -1,5 +1,10 @@
-<?php get_template_part("content", "post"); ?>
+<?php
+$context = Timber::get_context();
+$context["post"] = Timber::get_post();
+$context["comment_form"] = TimberHelper::get_comment_form();
+
+Timber::render(array("single-" . $post->post_type . ".twig", "single.twig"), $context);
\ No newline at end of file