Jump to content

Theme programming


vividona

Recommended Posts

Hi guys,

 

I am programming a simple script. I made my codes in css. then I called all my php codes from other folder to my index.php. Then I link my index.php page with this css directory (Themes/ default/style.css). It works fine, but I think it is very stupid way. I know some people use index.php and index.template.php files in theme folder.

but for me all I have in themes folder are only style.css, header and footer in theme folder.

 

Plz explain to me in general how can I make a theme. and how can I include it in my index.php page.

Link to comment
https://forums.phpfreaks.com/topic/144443-theme-programming/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.