Answer the question
In order to leave comments, you need to log in
How to make different types of Wordpress pages?
Hello!
I have a need to design a layout with Bootstrap 4 framework and fit it on Wordpress
. I have not dealt with landing on WP before, so I'm interested in the following point:
How to create different types of pages?
WP is more focused on blogging. In addition to the blog, on the site, I also need to add several landing pages with completely different headers and footers.
Tell me how can this be done? Preferably in clear and simple language.
Answer the question
In order to leave comments, you need to log in
WP is more focused on blogging.
<?php
/*
Template Name: Лендинг#1
*/
How to make different types of Wordpress pages?
get_footer/get_header
using the argument $name
eg if there is footer-foo.php in the theme folder, it will include this footer, not footer.php get_footer('foo');
Hello!
There are several different ways.
1) As Ilya Rostopka noted, you can use different header & footer in the page template itself.
For example, you will have a header-main.php file so you use: get_header('main');
2) You can use a different theme for each page using a plugin (if it is assumed that the pages will be fundamentally different)
Multiple themes
https://ru.wordpress.org/plugins/jonradio-multiple...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question