Skip to content

Instantly share code, notes, and snippets.

@Agressiva86
Created October 15, 2019 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Agressiva86/38efcfbf0bbef2bc65b9a19fc8442223 to your computer and use it in GitHub Desktop.
Save Agressiva86/38efcfbf0bbef2bc65b9a19fc8442223 to your computer and use it in GitHub Desktop.
{% block header %}
<!doctype html>
<!--[if IE 9]><html class="lt-ie10" lang="{{ function( 'language_attributes' ) }}" > <![endif]-->
<html {{ function( 'language_attributes' ) }}>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ function( 'wp_head' ) }}
</head>
<body {{ function( 'body_class' ) }}>
{% endblock %}
{% include "views/parts/header.twig" %}
{% block content %}
{% endblock %}
{% block footer %}
{% include "views/parts/footer.twig" %}
{{ function( 'wp_footer' ) }}
<script>
var site_url = '{{ site.url }}';
var template_url = '{{ theme.link }}';
var ajax_url = '{{ function('admin_url', 'admin-ajax.php') }}';
</script>
</body>
</html>
{% endblock %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment