README update to include information about available page templates

added Page Templates section with sub-sections of each available
template
This commit is contained in:
Stef Kariotidis 2016-10-26 19:08:45 +03:00
parent 03f4350a55
commit 9b9be7769b
1 changed files with 31 additions and 2 deletions

View File

@ -149,6 +149,7 @@ http://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html
- WooCommerce support. - WooCommerce support.
- [Child Theme](https://github.com/holger1411/understrap-child) ready. - [Child Theme](https://github.com/holger1411/understrap-child) ready.
- Translation ready. - Translation ready.
- Multiple Page Templates
## Starter Theme + HTML Framework = WordPress Theme Framework ## Starter Theme + HTML Framework = WordPress Theme Framework
@ -211,6 +212,34 @@ The front-page slider is widget driven. Simply add more than one widget to widge
- Add two, or more, widgets of any kind to widget area “Hero”. - Add two, or more, widgets of any kind to widget area “Hero”.
- Thats it. - Thats it.
## Page Templates
### Blank Template
The `blank.php` template is useful when working with various page builders and can be used as a starting blank canvas.
### Empty Template
The `empty.php` template displays a header and a footer only. A good starting point for landing pages.
### Full Width Template
The `fullwidthpage.php` template has full width layout without a sidebar.
### Vertical One Page Template
The `vertical-one-page.php` template displays all pages (except the one showing the posts) in a single vertical layout with a sliding navigation.
Additionally enables the user to control the order of each page by using the order page attribute field.
#### One Page Template How to
1. Assuming that you have the following pages: Home, About and Contact
2. Go to Appearance → Menus and add one **custom link** for each page
3. On the URL field type a hash `#` and the name of the page in **lower case** so for example the link for Home becomes `#home`
4. Edit the Home page and set as template the **Vertical One Page** (you only need to do this for the first page)
5. Set the order of each page using the **Order** field from **Page Attributes** so for example if you want to display Home,
Contact, About set the Home page to 1, the Contact to 2 and About to 3
[1] Visit [http://browsersync.io](http://browsersync.io) for more information on Browser Sync [1] Visit [http://browsersync.io](http://browsersync.io) for more information on Browser Sync
Licenses & Credits Licenses & Credits