This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Jade Template

Description

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.

Jade template examples

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();

Installation

  1. Upload β€˜wp-jade-template’ to the β€˜/wp-content/plugins/’ directory
  2. Activate the plugin through the β€˜Plugins’ menu in WordPress
  3. Thats it! Try to override some template files as jade templates (.jade.php)

Reviews

There are no reviews for this plugin.

Contributors & Developers

“WP Jade Template” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP Jade Template” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.2

  • Description update

1.0.1

  • Description update

1.0.0

  • WP Jade Template