O
O
ogkonstantin2016-02-18 09:08:06
WordPress
ogkonstantin, 2016-02-18 09:08:06

WordPress - how to create static pages in your own theme?

Good afternoon dear ones!
This is my first time making my own theme for WordPress
. I have an html file with a lot of different pages.
All pages are static and have an original design (they don't look alike), even to the point that some have different footer and header.
The dynamic component of the site is required only for news and comments
The question is, how to create static pages for a wordpress theme?
Name different pages "page_1.php", "page_2.php" ... ?
Thanks to everyone who will respond!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan, 2016-02-18
@ogkonstantin

Make a separate template and put everything there that will be the same for all pages, then create pages in the admin panel and assign them the created template, for example custom.php

A
alfik197, 2016-02-18
@alfik197

isif-life.ru/blogovedenie/kak-sozdat-otdelnyj-drug... for example, it is clearly written here. If you have any questions I can help :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question