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.4

  • Added dependency check for the Classic Editor plugin, ensuring it is active and displaying a warning if not.
  • Updated the plugin code to include Text Domain for translation support.

1.4.3

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

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