开发者_JS百科
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this questionA page is generated by loading a few templates. The page contains:
- A header (using a header.php template)
- A menu (using menu.php)
- A sidebar (sidebar.php)
- A article (post.php)
- A tabbed area below the article that contains "comments", "related articles" and "about the author" sections (xxx.php)
- A footer (footer.php)
So besides xxx.php, all templates have intuitive names
Do you have any suggestions on how should I name this template, based on the content it has?
Maybe you should name it post-meta.php
? I think it's a good name, since the file displays some information about the post.
I would call it something like post-info.php because it is related to the post it is placed under.
Personally Id pick the name used by roles: secondary (XHTML2) or complementary (HTML5).
精彩评论