Twentysixteen – Why Template-tags file?
-
I’ve been frustrated trying to persuade the default twentysixteen theme to display the single post meta data in the way I would prefer.
It seems everything is based on the “template-tags” file, but I’m finding it much easier to use discreet methods found in the Codex such as get the post category and get the date and get the title etc. and adding these directly to the single.php template.
Guess my question is why does twentysixteen use the template-tags file for the metadata, and what is the advantage of doing things this way, instead of simply editing the single.php directly??
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Twentysixteen – Why Template-tags file?’ is closed to new replies.