Change site style→

style-1 style-2
  1. nazenani
  2. >
  3. >
  4. >
  5. Templating common parts.

Templating common parts.

Web site data have some common parts such as header, footer, side bar and etc…….These parts should be templating in CMS.
WordPress has characteristic structure in header and footer.
from now on, we investigate it.

Footer

Footer structure is below.

Please attention line★. there is function “get_footer()”.
This read WordPress function into footer.
Usually it describe before” </body>” .

Being careful of exsist above, paste footer part of static page.

Header

Header structure is below.

Please attention line★. there is function “get_head()”.
This read WordPress function into footer.
Usually it describe before”</head>”

Being careful of exsist above, paste header part of static page.

header has many information. CSS reading, java script reading, meta discriptions etc….
their contents are different page by page. So use condition branch, output appropriate information page by page.

Sidber

Sidebar has no charactristic structure. Paste sidebar part of static page.

comment

Fields with * is required.

go to related tags archive?