You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
cosmopet-architecture/wp-content/themes/cosmopet/modules/static-pages/production/template-prod-page.php

27 lines
813 B

<?php
/**
* Template Name: Production
* Description: Production page template
*/
?>
<?php
add_action('wp_enqueue_scripts', function() {
wp_enqueue_style('gp-front-page-style', get_template_directory_uri() . '/static/css/front-page.css');
wp_enqueue_style('gp-prod-page-style', get_template_directory_uri() . '/static/css/production-page.css');
wp_enqueue_script( 'gp-prod-page-main', get_template_directory_uri() . '/static/js/production-page.js', array(), null, true );
});
$context = Timber::get_context();
$context['title'] = get_field('title');
$context['btn_text'] = get_field('btn_text');
$context['desc'] = get_field('desc');
$context['steps_1'] = get_field('steps_1');
$context['steps_2'] = get_field('steps_2');
Timber::render('_pages/production.twig', $context);
?>