Answer the question
In order to leave comments, you need to log in
How to create a template for WordPress?
Comrades, tell me, what steps will be the most correct to develop a template for WordPress based on the existing layout in Photoshop? Is it possible to first make a simple HTML + CSS page, and then "stuff" the characteristics of its individual elements (header, content part, sidebar, footer) according to the corresponding files in WordPress, or can difficulties arise? Interested in the stages of creation. And how would it be better - to rework an existing theme or write from scratch (which, in my opinion, will be very difficult for a beginner to master)?
If anything, the same HTML and CSS, not to mention PHP, I know "anyhow" and understand them at random: first I look for something similar to my idea on other sites and among free templates, after which I study the local code and edit it to fit my needs.
Answer the question
In order to leave comments, you need to log in
Yes, both convenient and collect. You can first make up, then pull, or you can immediately pull
First you need to give each layout a name.
Архив / категория - archive.php
Материал - single.php
...
Страница - page.php
Главная - index.php
part
so as not to repeat the code 20 times
Create your own child theme based on existing free themes, this will be enough for a beginner, then when you gain experience you can create full-fledged your themes.
Starter empty topic from underscors.me . And pull on it. On YouTube, somewhere, the lessons were at a stretch for this particular template. You can choose the structure of the future site: blog, portfolio, magazine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question