Plantilla para las páginas de servicios
This commit is contained in:
12
template-servicio.php
Normal file
12
template-servicio.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
/**
|
||||
* Template Name: Plantilla de Servicio
|
||||
* Description: Para páginas donde se describe un servicio.
|
||||
*/
|
||||
|
||||
$context = Timber::context();
|
||||
|
||||
$timber_post = Timber::get_post();
|
||||
$context['post'] = $timber_post;
|
||||
|
||||
Timber::render( ['template-servicio.twig'], $context );
|
||||
Reference in New Issue
Block a user