template directory

post image

if you downloaded TD-CMS you probably noticed that the following folder exist (template)

 

these are all of the files (in the template directory) supported by TD-CMS:

index.php (supported in all versions)

header.php (supported in all versions)

footer.php (supported in all versions)

content.php (supported in all versions)

functions.php (supported in all versions)

404.php (supported in 1.1 and up)

search404.php (supported in 1.1 and up)

search-results.php (supported in 1.1 and up)

sidebar_right.php (supported in 1.1 and up)

sidebar_left.php (supported in 1.1 and up)

post.php (supported in 2.0 and up)

postsall.php (supported in 2.0 and up)

styles.css (supported in all versions)

 

And this is what those files do

  1. index.php is the file where everything comes together.
  2. content.php is used to display the middle of your template but you can also put this inside the index file, and not even use get_tem_content();
  3. header.php is used to display the header of your template but you can also put this inside the index file, and not even use get_tem_header();
  4. footer.php is used to display the footer of your template but you can also put this inside the index file, and not even use get_tem_footer();
  5. functions.php this file will automatically be included And is used to create your one functions
  6. 404.php This file will be displayed in the content area, If a post or page is not found