{"id":81562,"date":"2018-02-11T09:39:18","date_gmt":"2018-02-11T09:39:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/inserter\/"},"modified":"2018-02-17T08:47:57","modified_gmt":"2018-02-17T08:47:57","slug":"inserter","status":"publish","type":"plugin","link":"https:\/\/he.wordpress.org\/plugins\/inserter\/","author":5601605,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"4.9.29","requires":"4.9","requires_php":"","requires_plugins":"","header_name":"Inserter","header_author":"Aristeides Stathopoulos","header_description":"Create custom underscore.js templates and inject them in your pages","assets_banners_color":"0071a3","last_updated":"2018-02-17 08:47:57","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/aristath.github.io\/donate","header_plugin_uri":"http:\/\/aristath.github.io\/inserter","header_author_uri":"http:\/\/aristath.github.io","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2028,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","faq"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1819911","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1819911","resolution":"256x256","location":"assets"},"icon.svg":{"filename":"icon.svg","revision":"1819911","resolution":"","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1819911","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1819911","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2299,23853,4516,153052],"plugin_category":[43],"plugin_contributors":[78740],"plugin_business_model":[],"class_list":["post-81562","plugin","type-plugin","status-publish","hentry","plugin_tags-rest","plugin_tags-rest-api","plugin_tags-templates","plugin_tags-underscorejs","plugin_category-customization","plugin_contributors-aristath","plugin_committers-aristath"],"banners":{"banner":"https:\/\/ps.w.org\/inserter\/assets\/banner-772x250.png?rev=1819911","banner_2x":"https:\/\/ps.w.org\/inserter\/assets\/banner-1544x500.png?rev=1819911","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/inserter\/assets\/icon.svg?rev=1819911","icon":"https:\/\/ps.w.org\/inserter\/assets\/icon.svg?rev=1819911","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Inserter allows you to create custom templates from your dashboard and insert the in your pages, replacing a CSS selector of your choosing.<\/p>\n\n<p>You can use the <a href=\"https:\/\/codex.wordpress.org\/Javascript_Reference\/wp.template#Template_Interpolation\">WordPress Templates Interpolation<\/a> for <a href=\"http:\/\/underscorejs.org\/\">underscore.js<\/a> and include JS-based logic in your templates.<\/p>\n\n<p>You can expose data using the REST API, using the global <code>$post<\/code> object, or provide your own JSON-formatted data.\nTo see the available data, you can add this line in your template and then check the console when your site loads:\n    &lt;# console.log( data ); #&gt;<\/p>\n\n<p>You can read more about how to use the plugin on <a href=\"https:\/\/aristath.github.io\/wordpress\/introducing-wordpress-inserter-plugin\">https:\/\/aristath.github.io\/wordpress\/introducing-wordpress-inserter-plugin<\/a>.<\/p>\n\n<!--section=installation-->\n<p>Simply install as a normal WordPress plugin and activate.<\/p>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<p>February 17, 2018<\/p>\n\n<ul>\n<li>Add <code>append<\/code> and <code>prepend<\/code> modes in addition to <code>replace<\/code>.<\/li>\n<li>Require \"element\" field to be defined when adding\/editing template<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<p>February 12, 2018<\/p>\n\n<ul>\n<li>Initial version<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>Simply install as a normal WordPress plugin and activate.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Create custom underscore.js templates and inject them in your pages","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/81562","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=81562"}],"author":[{"embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aristath"}],"wp:attachment":[{"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=81562"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=81562"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=81562"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=81562"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=81562"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/he.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=81562"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}