Browse Source

refactor FSE header templates

Ben Dwyer 4 năm trước cách đây
mục cha
commit
4a0a3ffb47

+ 6 - 0
balasana/template-parts/header/fse-header.php

@@ -0,0 +1,6 @@
+<header id="masthead" class="site-header responsive-max-width">
+	<?php
+		$template = new A8C\FSE\WP_Template();
+		$template->output_template_content( A8C\FSE\WP_Template::HEADER );
+	?>
+</header>

+ 6 - 0
dalston/template-parts/header/fse-header.php

@@ -0,0 +1,6 @@
+<header id="masthead" class="site-header site-branding entry-content">
+	<?php
+		$template = new A8C\FSE\WP_Template();
+		$template->output_template_content( A8C\FSE\WP_Template::HEADER );
+	?>
+</header>

+ 6 - 0
varia/template-parts/header/fse-header.php

@@ -0,0 +1,6 @@
+<header id="masthead" class="fse-template-part fse-header entry-content">
+	<?php
+		$template = new A8C\FSE\WP_Template();
+		$template->output_template_content( A8C\FSE\WP_Template::HEADER );
+	?>
+</header>