{"id":33234,"date":"2014-12-04T06:05:00","date_gmt":"2014-12-04T06:05:00","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-jade-template\/"},"modified":"2014-12-04T06:19:56","modified_gmt":"2014-12-04T06:19:56","slug":"wp-jade-template","status":"publish","type":"plugin","link":"https:\/\/kea.wordpress.org\/plugins\/wp-jade-template\/","author":7293456,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"trunk","tested":"3.9.40","requires":"3.0.0","requires_php":"","requires_plugins":"","header_name":"WP Jade Template","header_author":"Xing","header_description":"","assets_banners_color":"","last_updated":"2014-12-04 06:19:56","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/wp-jade-template\/","header_author_uri":"http:\/\/www.webuddysoft.com\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1389,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1391,69419,170,975],"plugin_category":[43],"plugin_contributors":[90997],"plugin_business_model":[],"class_list":["post-33234","plugin","type-plugin","status-publish","hentry","plugin_tags-advanced","plugin_tags-jade","plugin_tags-page","plugin_tags-template","plugin_category-customization","plugin_contributors-xingxing","plugin_committers-xingxing2d"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-jade-template.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>WP Jade Template enables to use jade template engine for the wordpress theme's template files.\nTo override the default template with Jade format, Just create a Jade Template and add the '.jade' before '.php' to its original name.<\/p>\n\n<p>index.php\nindex.jade.php<\/p>\n\n<p>single.php\nsingle.jade.php<\/p>\n\n<p>page-contact.jade.php\npage-aboutus.jade.php\n...<\/p>\n\n<p>The overrided Jade Template will serve if it exists.<\/p>\n\n<h4>Jade template examples<\/h4>\n\n<p>index.jade.php:<\/p>\n\n<pre>\n- get_header();\ndiv#content\n  div Hello world\n- get_footer();\n<\/pre>\n\n<p>To use jade header and footer:<\/p>\n\n<pre>\n\/\/rendering header-main.jade.php and footer-main.jade.php\n- get_header('main.jade');\ndiv#content\n  div Hello world\n- get_footer('main.jade');\n<\/pre>\n\n<p>Page template example:<\/p>\n\n<pre>\n\/\/\n\/\/ Template Name: Contact Page\n\/\/\n- get_header();\n- the_post();\ndiv#content\n  - the_content();\n- get_footer();\n<\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload 'wp-jade-template' to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Thats it! Try to override some template files as jade templates (.jade.php)<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Description update<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Description update<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>WP Jade Template<\/li>\n<\/ul>","raw_excerpt":"WP Jade Template enables to use jade template engine for the wordpress theme&#039;s template files.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33234","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33234"}],"author":[{"embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/xingxing2d"}],"wp:attachment":[{"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33234"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33234"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33234"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33234"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33234"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/kea.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33234"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}