Quicktags for WP

外掛說明

This simple plugin adds useful buttons to the native WordPress HTML editor (Classic Editor).

Currently adds:
h1, h2, h3, h4, h5, span, hr, nbsp, mox

The “mox” button adds a nice responsive CSS class which you can use to highlight pictures or other elements in your posts.

Note: This plugin works only with the Classic Editor. It does not support the new Gutenberg (Block Editor).

Compatibility

  • Requires the Classic Editor to be active.
  • Designed specifically for the HTML mode of the editor.

螢幕擷圖

  • screenshot-1.png

安裝方式

  1. Unzip into your /wp-content/plugins/ directory. If you’re uploading it, make sure to upload the top-level folder. Don’t just upload all the PHP files and put them in /wp-content/plugins/.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Ensure the Classic Editor is active if you want to use the enhanced Quicktags buttons.

常見問題集

Does this plugin work with Gutenberg (Block Editor)?

No, this plugin is designed specifically for the Classic Editor. If you are using Gutenberg, the plugin’s functionality will not be available.

What does the “mox” button do?

The “mox” button adds a <div> with a responsive CSS class that can be styled to highlight images or other elements in your posts.

使用者評論

2016 年 9 月 3 日
Useful buttons for html editor. Thanks.
閱讀全部 4 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Quicktags for WP〉的開發相關工作。

參與者

將〈Quicktags for WP〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.4.3

  • Updated code to comply with WordPress Coding Standards using PHPCS. Updated assets images.

1.4.2

  • Fixed header placement and added PayPal donate link.

1.4.1

  • Removed the “b” button as it was redundant in newer versions of the Classic Editor where this functionality is already included by default.
  • Added the “span” button before the “hr” button.

1.4

  • Complete rewrite of the plugin according to new guidelines.
  • Changed the plugin name to “Quicktags for WP”.
  • Prevented direct file access by adding security checks to all PHP files.
  • Updated function names to use a unique prefix wpqt_ to avoid conflicts with other plugins.
  • Improved code readability and maintainability by standardizing naming conventions.
  • Resolved potential conflicts with other plugins by ensuring all function names, classes, and options are unique.

1.3

  • Updated readme.txt, fixed small typo errors

1.2

  • Updated readme.txt, fixed small typo errors

1.1

  • Updated screenshots, fixed Uncaught ReferenceError: QTags is not defined

1.0

  • Public release