There is a lot of documentation on how to create custom headers for a theme. For example, if I wanted to add a header named:
I would add this to my template file:
If custom-header.php was in either the same directory as the page template or the ‘root’ theme directory, the header will load as expected.
I can’t find anything for custom headers for page templates in a plugin. For example, I have a template file single-node.php located in my includes folder. How could I add something like:
and store that in my includes directory or somewhere else in my plugin?
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com