该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

TinyMCE Templates

描述

TinyMCE Template plugin will enable to use HTML template on WordPress Visual Editor.

Some features:

  • Add “Insert Template” button to Visual Editor.
  • You can edit template on WordPress admin.
  • Copy to template from posts & pages.
  • You can insert templates as shortcode.

Translators:

You can send your own language pack to me.

Note

How to display insert template button on wysiwyg editor of the ACF.

add_filter( ‘tinymce_templates_enable_media_buttons’, function(){
return true; // Displays insert template button on all visual editors
} );

鸣谢

This plug-in is not guaranteed though the user of WordPress can freely use this plug-in free of charge regardless of the purpose.
The author must acknowledge the thing that the operation guarantee and the support in this plug-in use are not done at all beforehand.

Contact

  • http://wpist.me/
  • twitter @wpist_me

Special Thanks

  • @kernfel on Twitter

屏幕截图

  • Template Admin.
  • Visual Editor.
  • Copy to new template from Edit Page.
  • Copy to new template from Admin Bar.

安装

  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plug-in is made effective.
  • Open ‘Template’ menu.

常见问题

Installation Instructions
  • A plug-in installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plug-in is made effective.
  • Open ‘Template’ menu.

评价

2017年11月26日
This plugin makes creating simple or advanced content layout templates for content authors a breeze. As a developer I create the templates, apply the required CSS and JS and authors can easily select and adjust them without the need to prove their HTML/CSS skills. Thank you 🙂
2016年9月3日
This is a great plugin, but i can't use it with ACF or ACF Repeater. The button does not appear above the ACF fields. I think the problem is the multiple content. You put a note to solve this, but the solution doesn't work. I would be very glad, if you could solve this problem!!!
阅读所有8条评价

贡献者及开发者

“TinyMCE Templates” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“TinyMCE Templates”插件已被翻译至8种本地话语言。 感谢所有译者为本插件所做的贡献。

将“TinyMCE Templates”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

4.4.3

  • Tested on WordPress 4.4.

4.4.0

  • Bug fix when richedit is enabled.
  • Add filter hook tinymce_templates_enable_media_buttons.

4.3.6

  • Update German translation.

4.3.5

  • Tested up to WordPress 4.2.

4.3.3

  • Update Hebrew(he_IL) translation file.

4.3.2

  • Fix closing modal window problem.
  • Set same width with preview and content_width.
  • Update js modal potision absolute to fixed.

4.3.1

  • Bug fix on quick tags view.

4.0.0

  • Remove sharing function.
  • Add function inserting as shortcode.

3.4.0

3.3.0

3.2.0

  • Tested up to 3.7

3.0.0