>
Download This Plugin | |
Download Elegant Themes | |
Name | WP Jade Template |
Version | 1.0 |
Author | |
Rating | 100 |
Last updated | 2014-12-04 06:19:00 |
Downloads |
45
|
Download Plugins Speed Test plugin for Wordpress |
Home page PageSpeed score has been degraded by 0%, while Post page PageSpeed score has been degraded by 0%
WP Jade Template plugin added 6 bytes of resources to the Home page and 16 bytes of resources to the sample Post page.
WP Jade Template plugin added 0 new host(s) to the Home page and 0 new host(s) to the sample Post page.
Great! WP Jade Template plugin ads no tables to your Wordpress blog database.WP Jade Template enables to use jade template engine for the wordpress theme's template files. To override the default template with Jade format, Just create a Jade Template and add the '.jade' before '.php' to its original name.
index.php index.jade.php
single.php single.jade.php
page-contact.jade.php page-aboutus.jade.php ...
The overrided Jade Template will serve if it exists.
index.jade.php:
- get_header(); div#content div Hello world - get_footer();
To use jade header and footer:
//rendering header-main.jade.php and footer-main.jade.php - get_header('main.jade'); div#content div Hello world - get_footer('main.jade');
Page template example:
// // Template Name: Contact Page // - get_header(); - the_post(); div#content - the_content(); - get_footer();