รู้จักกับฟังก์ชั่น get_header();
get_header เป็นฟังก์ชั่นที่มีการเรียกใช้งาน header.php
การใช้งาน
<?php get_header($name); ?>
กรณีที่ไม่มี Parameters ก็ไม่ต้องใส่คับ เช่น <?php get_header(); ?> เป็นต้น
ตัวอย่าง
<?php get_header(); ?>
<h2>This h2 content….</h2>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Websites Reference : https://codex.wordpress.org/Function_Reference/get_header