first commit

This commit is contained in:
2020-05-20 15:48:29 +02:00
commit cf7a95d818
66 changed files with 3552 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
/**
* Search results page
*
* Methods for TimberHelper can be found in the /lib sub-directory
*
* @package WordPress
* @subpackage Timber
* @since Timber 0.1
*/
$templates = array( 'search.twig', 'archive.twig', 'index.twig' );
$context = Timber::context();
$context['title'] = 'Search results for ' . get_search_query();
$context['posts'] = new Timber\PostQuery();
Timber::render( $templates, $context );