{"id":72741,"date":"2017-08-06T11:33:02","date_gmt":"2017-08-06T11:33:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/tinymceeditor-template-files\/"},"modified":"2018-08-08T14:30:52","modified_gmt":"2018-08-08T14:30:52","slug":"editor-template-files","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/editor-template-files\/","author":15589055,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.5","stable_tag":"1.0.5","tested":"4.8.28","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"TinyMCE\uff1aEditor Template Files","header_author":"hana","header_description":"Editor Template From Files For Wordpress TinyMCE.","assets_banners_color":"6e8b9c","last_updated":"2018-08-08 14:30:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/editor-template-files\/","header_author_uri":"https:\/\/hanabanadesign.com\/","rating":0,"author_block_rating":0,"active_installs":200,"downloads":4432,"num_ratings":0,"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":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1709096","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1709096","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1554x500.png":{"filename":"banner-1554x500.png","revision":"1709096","resolution":"1554x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1709096","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1921684","resolution":"5","location":"plugin"},"screenshot-7.png":{"filename":"screenshot-7.png","revision":"1921684","resolution":"7","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1921684","resolution":"2","location":"plugin"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1921684","resolution":"6","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1921684","resolution":"4","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1921684","resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1921684","resolution":"3","location":"plugin"},"screenshot-8.png":{"filename":"screenshot-8.png","revision":"1921684","resolution":"8","location":"plugin"}},"screenshots":{"1":"\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046 1\uff08 \u633f\u5165 \uff1e Template \uff09","2":"\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046 2\uff08\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u30dc\u30bf\u30f3\u304b\u3089\uff09","3":"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u9078\u629e\u3059\u308b\u3002","4":"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u633f\u5165\u3055\u308c\u307e\u3057\u305f","5":"\u7de8\u96c6\u4e0d\u53ef\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb","6":"\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb 1","7":"\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb 2","8":"\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb 3"}},"plugin_section":[],"plugin_tags":[1332,975,1719],"plugin_category":[43,46],"plugin_contributors":[144728],"plugin_business_model":[],"class_list":["post-72741","plugin","type-plugin","status-closed","hentry","plugin_tags-editor","plugin_tags-template","plugin_tags-tinymce","plugin_category-customization","plugin_category-editor-and-writing","plugin_contributors-hana015","plugin_committers-hana015"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/editor-template-files_6e8b9c.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-1.png?rev=1921684","caption":"\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046 1\uff08 \u633f\u5165 \uff1e Template \uff09"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-2.png?rev=1921684","caption":"\u4f5c\u6210\u3057\u305f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u3046 2\uff08\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u30dc\u30bf\u30f3\u304b\u3089\uff09"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-3.png?rev=1921684","caption":"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u9078\u629e\u3059\u308b\u3002"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-4.png?rev=1921684","caption":"\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u633f\u5165\u3055\u308c\u307e\u3057\u305f"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-5.png?rev=1921684","caption":"\u7de8\u96c6\u4e0d\u53ef\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-6.png?rev=1921684","caption":"\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb 1"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-7.png?rev=1921684","caption":"\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb 2"},{"src":"https:\/\/ps.w.org\/editor-template-files\/trunk\/screenshot-8.png?rev=1921684","caption":"\u7de8\u96c6\u53ef\u80fd\u9818\u57df\u306e\u30b5\u30f3\u30d7\u30eb 3"}],"raw_content":"<!--section=description-->\n<p>Editor Template Files\u306f\u3001Wordpress\u3067TinyMCE\uff08\u30d3\u30b8\u30e5\u30a2\u30eb\u30a8\u30c7\u30a3\u30bf\uff09\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30d9\u30fc\u30b9\u3067\u4f5c\u6210\u3057\u3001\u7de8\u96c6\u53ef\u80fd\u306a\u9818\u57df\u3084\u7de8\u96c6\u4e0d\u53ef\u306e\u9818\u57df\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n<ul>\n<li><a href=\"https:\/\/labo.hanabanadesign.com\/editor-template-files\/\">\u30b5\u30dd\u30fc\u30c8\u30b5\u30a4\u30c8<\/a><\/li>\n<\/ul>\n\n<h3>Introduction<\/h3>\n\n<h3>Features<\/h3>\n\n<ul>\n<li><p>\u30d3\u30b8\u30e5\u30a2\u30eb\u30a8\u30c7\u30a3\u30bf\u300cTinyMCE\u300d\u3067\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p><\/li>\n<li><p>\u30d5\u30a1\u30a4\u30eb\u30d9\u30fc\u30b9\u3067\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4f5c\u6210\u3002<\/p><\/li>\n<li><p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u7de8\u96c6\u4e0d\u53ef\u30fb\u53ef\u80fd\u9818\u57df\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p><\/li>\n<li><p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u8aad\u307f\u8fbc\u307f\u6642\u306b\u3042\u3089\u304b\u3058\u3081\u8a2d\u5b9a\u3057\u305f\u5024\u3092\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p><\/li>\n<\/ul>\n\n<h3>How to use<\/h3>\n\n<ol>\n<li><p>Install &amp; Activate the plugin.<\/p><\/li>\n<li><p>Create &amp; Upload Your Template.\uff08check below or our site.\uff09<\/p><\/li>\n<li><p>Use Your Template.<\/p><\/li>\n<\/ol>\n\n<h4>How to use Sample Template<\/h4>\n\n<p>\uff11. copy from \u201csample\u201d folder.\nsample template foler\uff1a\n    \/wp-content\/plugins\/editor-template-files\/sample\/\u301c<\/p>\n\n<p>\uff12. move to \u201cYour Theme Folder\u201d.\n    \/wp-content\/plugins\/editor-template-files\/sample\/\u301c\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u2193\n    \/wp-content\/themes\/Your Theme Folder\/sample\/\u301c<\/p>\n\n<p>\uff14. rename folder to \u201ceditor-template-files\u201d from \u201csample\u201d.\n    \/wp-content\/themes\/Your Theme Folder\/editor-template-files\/\u301c<\/p>\n\n<p>\uff15. If you want to check beautiful style sample.\n   Please check below.<\/p>\n\n<p>please add this code to <code>functions.php<\/code>.\n    add_editor_style( 'editor-template-files\/custom-editor-style.css' );<\/p>\n\n<p>\u3000\u3000Notes:\n   It may affect all editor styles.\n   We recommend that you cancel when you no longer need it.<\/p>\n\n<p>\uff14. If you want to check perfect sample.\n   Please check below.<\/p>\n\n<p>please add this code to <code>functions.php<\/code>.<\/p>\n\n<pre><code>add_filter('etf_tpl_values', 'hoge');\nfunction hoge( $values ) {\n    global $post_id;\n\n    $values['sample_value'] = 'Editor Template Files&lt;br&gt;Sample Page !!';\n    $values['date'] = get_the_time( 'Y-m-d', $post_id );\n\n    $values['etf_plugin_autor'] = 'hana';\n\n    return $values;\n}\n<\/code><\/pre>\n\n<p>Thank you for sample settings.\nYou can experience the sample with this.<\/p>\n\n<h4>Create Your Template<\/h4>\n\n<p>\uff11. create folder and file in \u201cYour Theme Folder\u201d.<\/p>\n\n<pre><code>   \/Your Theme Folder\/editor-template-files\/template\/***.php\n<\/code><\/pre>\n\n<p>\uff12. write \u201cTemplate Info\u201d in your template.<\/p>\n\n<pre><code>\/**\n *\n * Editor Template Files Name: Sample Template\n * Description: This is a Sample Template.\n *\/\n<\/code><\/pre>\n\n<p>\u201cEditor Template Files Name: \u201d will \u201cTemplate Title\u201d when you select Template.\n   \u201cDescription: \u201d will \u201cTemplate Description\u201d when you select Template.<\/p>\n\n<p>\uff13. write template As you like.\n   Notes\uff1a\n   You must write your code inside \u201cmceTmpl\u201d Class.<\/p>\n\n<pre><code>&lt;div class=\"mceTmpl\"&gt;\n    &lt;!\u2014 your code here \u2014&gt;\n&lt;\/div&gt;\n<\/code><\/pre>\n\n<p>Reference\uff1a\n* Sample Template\uff08\/wp-content\/plugins\/editor-template-files\/sample\/\u301c\uff09\n* TinyMCE 4.0 Template Plugin<\/p>\n\n<h4>Use Your Template<\/h4>\n\n<ol>\n<li><p>Open template dialog.\uff08Insert &gt; Template or Template button \uff09<\/p><\/li>\n<li><p>Select your template.<\/p><\/li>\n<li><p>Click button.<\/p><\/li>\n<\/ol>\n\n<h4>Other<\/h4>\n\n<p>\u4ed6\u3001\u30b5\u30dd\u30fc\u30c8\u30b5\u30a4\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<ul>\n<li><p>\u7de8\u96c6\u4e0d\u53ef\u30fb\u53ef\u80fd\u9818\u57df\u306e\u4f5c\u308a\u65b9<\/p><\/li>\n<li><p>\u5024\u306e\u7f6e\u304d\u63db\u3048\u306e\u4f7f\u3044\u65b9<\/p><\/li>\n<\/ul>\n\n<h3>\u6ce8<\/h3>\n\n<p>\u5fc5\u305a\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306a\u3069\u3092\u3057\u305f\u4e0a\u3067\u3001\u4f7f\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\u65e2\u306b\u3001\u30a8\u30c7\u30a3\u30bf\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3084\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u52d5\u4f5c\u3057\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n<p>\u672c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u305f\u4e8b\u306b\u3088\u308b\u3001\u3044\u304b\u306a\u308b\u640d\u5bb3\u3082\u4f5c\u8005\u306f\u4e00\u5207\u306e\u8cac\u4efb\u3092\u8ca0\u3044\u307e\u305b\u3093\u306e\u3067\u3001\u81ea\u5df1\u8cac\u4efb\u306e\u4e0a\u3067\u3054\u4f7f\u7528\u4e0b\u3055\u3044\u3002<\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<p>e.g.<\/p>\n\n<ol>\n<li>Upload <code>editor-templates.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>&lt;?php do_action('plugin_name_hook'); ?&gt;<\/code> in your templates<\/li>\n<\/ol>\n\n<h4>WP\u7ba1\u7406\u753b\u9762\u304b\u3089<\/h4>\n\n<ol>\n<li>\u300c\u30d7\u30e9\u30b0\u30a4\u30f3 \uff1e \u65b0\u898f\u8ffd\u52a0\u300d \u304b\u3089\u300cEditor Template Files\u300d\u3092\u63a2\u3057\u307e\u3059\u3002<\/li>\n<li>\u300c\u4eca\u3059\u3050\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/li>\n<li>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Update README File.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Update Plugin Information.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update README File.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Support child theme. and Fix template button.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Change text for Support Site URL and Author Site URL.\nThere is no change in the content itself.<\/li>\n<\/ul>","raw_excerpt":"Editor Template Files\u306f\u3001Wordpress\u3067TinyMCE\uff08\u30d3\u30b8\u30e5\u30a2\u30eb\u30a8\u30c7\u30a3\u30bf\uff09\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6a5f\u80fd\u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002\n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u30d9\u30fc\u30b9\u3067\u4f5c\u6210\u3057\u3001\u7de8\u96c6\u53ef\u80fd\u306a\u9818\u57df\u3084\u7de8\u96c6\u4e0d\u53ef\u306e\u9818\u57df\u3092\u4f5c\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n\nYou can templates available  &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/72741","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=72741"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hana015"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=72741"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=72741"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=72741"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=72741"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=72741"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=72741"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}