{"id":38639,"date":"2015-09-05T10:45:52","date_gmt":"2015-09-05T10:45:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/content-template-engine\/"},"modified":"2016-04-21T06:56:28","modified_gmt":"2016-04-21T06:56:28","slug":"content-template-engine","status":"closed","type":"plugin","link":"https:\/\/ssw.wordpress.org\/plugins\/content-template-engine\/","author":175046,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.9.4","stable_tag":"0.9.4","tested":"4.5.33","requires":"4.3","requires_php":"","requires_plugins":"","header_name":"Content Template Engine","header_author":"Takayuki Miyauchi","header_description":"","assets_banners_color":"003040","last_updated":"2016-04-21 06:56:28","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/miya0001\/content-template-engine","header_author_uri":"https:\/\/github.com\/miya0001\/","rating":5,"author_block_rating":0,"active_installs":10,"downloads":2234,"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":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1249632","resolution":"128x128","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1249630","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.2.0","0.3.0","0.4.0","0.5.0","0.5.1","0.6.0","0.7.0","0.8.0","0.9.0","0.9.2","0.9.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1249621","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1249621","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1249621","resolution":"3","location":"assets"}},"screenshots":{"1":"Settings meta box in edit posts screen.","2":"Edit posts screen.","3":"The Content."}},"plugin_section":[],"plugin_tags":[170,86,975,3469,17808],"plugin_category":[43],"plugin_contributors":[78380],"plugin_business_model":[],"class_list":["post-38639","plugin","type-plugin","status-closed","hentry","plugin_tags-page","plugin_tags-post","plugin_tags-template","plugin_tags-the_content","plugin_tags-twig","plugin_category-customization","plugin_contributors-miyauchi","plugin_committers-miyauchi"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/content-template-engine_003040.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/content-template-engine\/assets\/screenshot-1.png?rev=1249621","caption":"Settings meta box in edit posts screen."},{"src":"https:\/\/ps.w.org\/content-template-engine\/assets\/screenshot-2.png?rev=1249621","caption":"Edit posts screen."},{"src":"https:\/\/ps.w.org\/content-template-engine\/assets\/screenshot-3.png?rev=1249621","caption":"The Content."}],"raw_content":"<!--section=description-->\n<p>This plugin enables <a href=\"http:\/\/twig.sensiolabs.org\/\">Twig template engine<\/a> in the WordPress contents.<\/p>\n\n<p>You can write Twig template in your posts\/pages.<\/p>\n\n<pre><code>{% if post.my_custom_field %}\n    Hello {{ post.my_custom_field }}!\n{% endif %}\n<\/code><\/pre>\n\n<p>See more information:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/miya0001\/content-template-engine\/wiki\">Documentation<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/miya0001\/content-template-engine\">GitHub<\/a><\/li>\n<\/ul>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>It enables <a href=\"http:\/\/twig.sensiolabs.org\/\">Twig<\/a> template engine in your WordPress contents.<\/li>\n<li>You can use post meta data in your template.<\/li>\n<li><a href=\"http:\/\/www.advancedcustomfields.com\/\">Advanced custom fields<\/a> and <a href=\"http:\/\/www.advancedcustomfields.com\/add-ons\/repeater-field\/\">Repeater Field<\/a> ready.<\/li>\n<li>Secure!\n\n<ul>\n<li>You can restrict users to write template.<\/li>\n<li>Automatic escaping is enabled.<\/li>\n<\/ul><\/li>\n<li>There are custom filters for WordPress. <a href=\"https:\/\/github.com\/miya0001\/content-template-engine\/wiki\/Filters\">See also<\/a>.<\/li>\n<li>There are custom functions for WordPress. <a href=\"https:\/\/github.com\/miya0001\/content-template-engine\/wiki\/Functions\">See also<\/a>.<\/li>\n<\/ul>\n\n<h4>Reuqires<\/h4>\n\n<ul>\n<li>PHP 5.3 or later<\/li>\n<li>WordPress 4.3 or later<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>https:\/\/github.com\/miya0001\/content-template-engine\/releases<\/p>","raw_excerpt":"Enables Twig template engine in the WordPress contents.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/38639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=38639"}],"author":[{"embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/miyauchi"}],"wp:attachment":[{"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=38639"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=38639"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=38639"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=38639"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=38639"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ssw.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=38639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}