Jmd Font Manager

描述

Jmd Font Manager lets you upload and manage custom fonts in WordPress.
Upload multiple files from one family, such as Regular, Medium, Bold, and Black, then select fonts separately for the website and the dashboard.

Features

  • Upload WOFF2, WOFF, TTF, and OTF fonts
  • Upload multiple weights from one font family
  • Automatically group weights into a family
  • Detect weights from filenames such as Thin, Light, Regular, Medium, Bold, and Black
  • Display a family weight range such as 100 – 900
  • Select separate general fonts for the website and dashboard
  • Select separate fonts for p and h1 through h6
  • Support for the block editor and classic editor
  • Manage and delete font families from the library
  • Restrict font management to users with the manage_options capability
  • Persian and English admin interface
  • Automatic Persian default for Persian WordPress locales, otherwise English
  • Language selector with matching RTL and LTR layouts

Usage

For best results, upload files using standard family and weight names. Example:

  • Vazirmatn-Thin.woff2
  • Vazirmatn-Light.woff2
  • Vazirmatn-Regular.woff2
  • Vazirmatn-Medium.woff2
  • Vazirmatn-Bold.woff2
  • Vazirmatn-Black.woff2

Each filename should contain the shared family name and the weight name so the weights can be detected automatically.

License

This plugin is licensed under the GPLv2 or later.

License URI: https://www.gnu.org/licenses/gpl-2.0.html

安装

  1. Upload the jmd-font-manager folder to wp-content/plugins/.
  2. Activate Jmd Font Manager from the Plugins screen.
  3. Go to Settings and open Font Manager.
  4. Select font files with different weights and add them to the library.
  5. Select the general font for the website and dashboard.
  6. Optionally select separate fonts for paragraphs and h1 through h6 headings.
  7. Use the language selector to switch between Persian and English.
  8. Click Save Selections.

常见问题

Can I upload multiple fonts?

Yes. You can add any number of fonts and weights to the library.

Can the website and dashboard use different fonts?

Yes. The website and dashboard have separate font selections.

Are previously uploaded fonts preserved?

Yes. Existing files are preserved and grouped into families based on their filenames when possible.

Is WOFF2 supported?

Yes. WOFF2, WOFF, TTF, and OTF formats are supported.

评价

此插件暂无评价。

贡献者及开发者

「Jmd Font Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Jmd Font Manager」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.4.0

  • Added Persian and English admin interface support.
  • Added a language selector to the plugin settings page.
  • Added automatic RTL and LTR layout based on the selected language.

1.3.1

  • Moved shared CSS selectors to a dedicated stylesheet.
  • Improved stylesheet loading and cache invalidation.

1.3.0

  • Added support for multiple uploads and multi-weight families
  • Automatically grouped weights into one family
  • Displayed family weight ranges
  • Improved font application on the website, dashboard, and editors
  • Improved security checks and GPL metadata

1.2.0

  • Added separate font selections for p and h1 through h6
  • Improved font application in the block and classic editors

1.1.0

  • Added separate website and dashboard font selections
  • Added the font library

1.0.0

  • Initial release