وەسف
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.
Installation
Simply install as a normal WordPress plugin and activate.
پهد
- Installation Instructions
-
Simply install as a normal WordPress plugin and activate.
پێداچوونەوەکان
هیچ پێداچوونەوەیەک نەنووسراوە بۆ ئەم پێوەکراوە.
بەشداربووان و گەشەپێدەران
“Inserter” نەرمەواڵەیەکی سەرچاوە کراوەیە. ئەم کەسانەی خوارەوە بەشدارییان تێدا کردووە.
بەشداربووان“Inserter” وەربگێڕە بۆ زمانەکەی خۆت.
دەتەوێت بەشداربیت لە گەشەپێدان؟
گەڕان لە کۆدەکەدا بکە، سەیری تەمارگەی (SVN) بکە، یان بەشداربە لە ڕووداوتۆماری گەشەپێدان لە ڕێگەی (RSS).
Changelog
1.1
February 17, 2018
- Add
appendandprependmodes in addition toreplace. - Require “element” field to be defined when adding/editing template
1.0
February 12, 2018
- Initial version
