S
S
s2906912016-07-24 01:38:30
CMS
s290691, 2016-07-24 01:38:30

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

4 answer(s)
@
@ksider, 2016-07-24
@s290691

Yes, both convenient and collect. You can first make up, then pull, or you can immediately pull

W
WQP, 2016-07-24
@WQP

First you need to give each layout a name.

Архив / категория - archive.php
Материал - single.php
...
Страница - page.php
Главная - index.php

Then move on to layout. Next, push all this into the site and simply configure the output of materials. It is advisable to use partso as not to repeat the code 20 times

Y
Yaroslav Alexandrov, 2016-07-24
@alexyarik

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.

M
Maxim Tatarnikov, 2016-10-16
@mtatarnikov

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 question

Ask a Question

731 491 924 answers to any question