Create custom underscore.js templates and inject them in your pages
As of April 2026, Inserter is a WordPress rest plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.0K+ times in total. Requires WordPress 4.9+ and PHP false+. Available on WordPress.org since 2018. Last updated 8 years ago — may have compatibility concerns. Top alternative: Disable REST API.
Inserter allows you to create custom templates from your dashboard and insert the in your pages, replacing a CSS selector of your choosing.
You can use the WordPress Templates Interpolation for underscore.js and include JS-based logic in your templates.
You can expose data using the REST API, using the global $post object, or provide your own JSON-formatted data.
To see the available data, you can add this line in your template and then check the console when your site loads:
<# console.log( data ); #>
You can read more about how to use the plugin on https://aristath.github.io/wordpress/introducing-wordpress-inserter-plugin.
| WordPress | 4.9+ requiredTested up to 4.9.29 |
| PHP | false+ required |
February 17, 2018
append and prepend modes in addition to replace.Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.