hi! I'm starting creating theme in wordpress. I study the default theme in wordpress. The problems are the files. I only know the header.php,footer.php,sidebar.php,function.php, index.php and style.css. Some files like archive.php and the others, i don't know the use of them. me i know why they are part in wordpress theme? please i need your help. This is my first time creating wordpress theme.

Recommended Answers

All 3 Replies

Hi,

This might be a stupid question, but I assume you have read the WordPress documentation about creating themes?

Linked to from the theme documentation is this page. It tells you all about Archive.php, etc.

This should answer your questions.

R.

You may find this page useful too. It tells you what order WordPress uses when it looks for which page to display:
Template Hierarchy

thank you very much. the link that you give me will help me a lot.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.