Este plugin no ha sido probado con ninguna las 3 últimas versiones principales de WordPress. Puede que ya no se mantenga o no tenga soporte, y puede que tenga problemas de compatibilidad cuando se utiliza con versiones más recientes de WordPress.

WP Jade Template

Descripción

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

Instalación

  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)

Reseñas

No hay reseñas para este plugin.

Colaboradores & Desarrolladores

“WP Jade Template” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce “WP Jade Template” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

1.0.2

  • Description update

1.0.1

  • Description update

1.0.0

  • WP Jade Template