Linux 软件免费装
Banner图

Typography Stylist

开发者 matthewneilcowan
更新时间 2026年10月5日 21:25
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

typography opentype ligatures glyphs variable fonts

下载

2.0.0 2.3.0 2.3.1 1.2.2 1.1.5 1.2.0 2.0.1 2.2.3 1.1.4 2.1.0 1.1.3 2.1.1 1.1.6 1.1.8 1.1.9 1.1.7 1.2.1 2.1.2 2.2.0 2.2.1 2.2.2

详情介绍:

Some of your fonts' best work is hidden. Professional fonts often contain swashes, stylistic sets, ligatures, and alternate characters. Unfortunately, using these features often resorts to manually inserting characters with inline spans, which is tedious, error-prone, and can cause issues with accessibility. Typography Stylist opens the full font cabinet, adding controls for these advanced features to the block editor with accessibility in mind, making it easy to use all the typographic features your fonts offer. If you set type in professional design tools, you know what these fonts can do. Typography Stylist brings that control to WordPress. You decide how your type looks, down to a single character. Pick the alternate you want for one letter, set a variable font to weight 435, and save the result as a paragraph style for the rest of the site, which you can later update everywhere at once. Typography Stylist also manages your fonts: upload webfont kits, connect Adobe Fonts, or use fonts from the WordPress Font Library. Glyphs Panel The Glyphs Panel shows every character in a font, like the Glyphs panel in Adobe Illustrator. The panel reads the font in your browser, and it reads only the font's metadata. It does not extract glyph outlines, and it does not store font data on your server. Paragraph Styles A paragraph style is a named set of typography settings, like a paragraph style in Adobe InDesign. Save a style one time, then apply it to text in any heading, paragraph, or Typography Stylist block. Granular typography control Set the typography of a whole block, or of one word or one letter in it. Your site's front end gets CSS only. The plugin adds no JavaScript to your pages. Two ways to style text
  1. In a heading or paragraph block. Select the text, then click the Typography Stylist button (a swash "T") in the block toolbar. Use this for whole words and phrases.
  2. In a Typography Stylist block. Use this block for letter-by-letter work. Set the options for the whole block in the sidebar. Select text in the block to change only that text.
Two settings in Settings → Typography Stylist → Options add a Glyphs button and a Paragraph Styles button to the block toolbar. Both settings are off by default. Accessibility A style on part of a word puts the letters in separate elements. Some screen readers then read the word in pieces, or skip it. The Typography Stylist block prevents this. It writes two copies of your text: If you style part of a word in a heading or paragraph block, a notice tells you about the risk. The notice offers a one-click conversion to a Typography Stylist block. Your change applies whether you convert or not. You can turn the notice off in Settings → Typography Stylist → Accessibility. The editor panels work with the keyboard and with screen readers. Fonts Use fonts from these sources: By default, a font loads only on the pages that use it. This includes blog, category, and tag archives. When you delete a font, you can choose a replacement font, and content that used the deleted font shows the replacement. Supported OpenType Features Ligatures: Recommended Fonts The OpenType features work only with fonts that contain them. Many script fonts and professional typefaces do. Some examples: To see which features a font has, read its specimen or open it in the Glyphs Panel. Bundled Third-Party Libraries The Glyphs Panel reads font files in the browser with two open-source libraries. They are bundled unmodified in glyphs-panel/assets/js/vendor/. They load only when you open the Glyphs Panel, and they run in the browser. No font data goes to a server. See BUILD.txt for build and source details. Source, Docs & Support If you like the plugin, a short review helps other type lovers find it.

安装:

  1. Upload the plugin files to /wp-content/plugins/typography-stylist, or install the plugin from the Plugins screen.
  2. Activate the plugin on the Plugins screen.
  3. Go to Settings → Typography Stylist to add your fonts and set the options.
  4. Open a post in the block editor. Select text in a heading, then click the Typography Stylist button in the block toolbar.

屏幕截图:

  • The Paragraph Styles browser — each saved style shown in its own typeface, with the selected words as the sample text
  • Inline editor on a heading block — toggling Swashes (swsh) with live preview, applied instantly to the selected text
  • Quick Feature Toggles inside the Typography Stylist block — per-selection controls, here setting a different variable-font weight for one word
  • Typography Stylist block with sidebar controls — a variable font's Weight axis slider replaces the discrete weight dropdown
  • Per-font variable axis configuration — axes detected from the font file, with ranges and WordPress Font Library registration
  • Font Features preview in the admin — every OpenType feature previewed with your own text in the selected font
  • The unified font list — uploaded kits, Adobe Fonts, and WordPress Font Library fonts with Variable and registration badges
  • The block's Accessibility panel — the screen-reader class behind the dual-heading pattern that keeps styled text accessible

升级注意事项:

2.3.1 The settings page loads only the fonts it shows, and the editor loads only the Adobe Fonts kits a post uses. A single post or page prints only the paragraph style CSS it uses. Adds style previews to the Paragraph Styles tab and fixes translations on WordPress 5.8 to 6.4. No data migration. 2.3.0 Adds built-in Paragraph Styles with a visual style browser, optional Glyphs and Paragraph Styles toolbar buttons, a no-reload settings page, and a round of screen-reader, keyboard and rendering fixes across both editors. No data migration. 2.2.3 Adds per-selection relative size and vertical shift inside Fit-to-width blocks — shrink a glyph relative to its fitted line and nudge it up or down, while every line keeps filling the block width exactly. 2.2.2 Adds fit-to-width sizing (each line fills the block width, zero frontend JS), scopes Quick Feature Toggle axis changes to the selected text, and fixes Font Library-registered fonts falling back to system fonts on the frontend. 2.2.1 Fixes variable-font axes being mixed up between fonts uploaded in the same ZIP. If a font is showing the wrong axes, open Settings → Typography Stylist → Custom Fonts and use "Detect Axes from Font File" to repair it. 2.2.0 Font Style (visual italic) controls, italic-aware previews and glyph browsing, and a major editor-reliability batch — selections, conversions, glyph alternates, and variable-font axes all behave predictably now. 2.1.2 Newly added fonts now enable only the weights they actually ship, with a one-click auto-detect for existing fonts; also fixes Glyphs Panel browsing for variable fonts from font-only ZIPs. 2.1.1 Re-release of the 2.1.0 feature set with corrected packaging — the 2.1.0 download never contained the new files. Update to get variable fonts, font-only ZIP uploads, and WordPress Font Library integration. 2.1.0 Font kit uploads now accept ZIPs containing only font files (e.g. Google Fonts downloads) — the @font-face stylesheet is generated automatically from the fonts' metadata. Adds WordPress Font Library integration (register uploaded fonts, adopt Library fonts in the editor), variable font support, and a typost_force_enqueue_font_ids filter for theme-driven font loading. Also fixes Adobe/custom/Library fonts not rendering inside the iframed block editor canvas. Existing content and settings are preserved. 2.0.1 Fixes mixed-content blocking of locally-hosted fonts in the Glyphs Panel on HTTPS sites.

常见问题:

Do I need special fonts?

For OpenType features such as stylistic sets and swashes, the font must contain them. Many professional typefaces do. Many free fonts have few features or none. Letter spacing, line height, size, and weight work with any font. If a font does not have a feature, the feature has no effect.

Does this work with Google Fonts?

Yes. Some Google Fonts have OpenType features. Read the font's specimen page to see which ones.

Can I use my own web fonts?

Yes. You can add fonts in four ways:

  1. Upload a webfont kit from MyFonts, Font Squirrel, or another provider on the Custom Fonts tab.
  2. Connect Adobe Fonts (Typekit). Paste the embed code of your project.
  3. Define a custom font that your theme, another plugin, or a CDN (such as Google Fonts) loads. The font then shows in the editor's font list.
  4. Use a WordPress Font Library font (WordPress 6.5+) from the editor's font list.
The plugin can also apply OpenType features to a font that your site already loads, without a selection in the font list. The previews on the settings page work only for fonts that you upload or connect through the plugin.

How do I upload a font?

  1. Go to Settings → Typography Stylist → Custom Fonts.
  2. Click "Choose ZIP File" and select your webfont kit ZIP.
  3. Click "Upload Font Kit". The plugin reads the font names from the kit.
Kits from MyFonts and Font Squirrel, and font downloads from Google Fonts, all work. The ZIP does not need a stylesheet. If the ZIP has only font files, the plugin reads each font's metadata and makes the @font-face CSS, with the weight range of a variable font. The server cannot read WOFF2 metadata. For a ZIP with only WOFF2 files, the plugin gets the family and the weight from the file names, and a warning asks you to check them. The plugin also finds the weights that each font has, and checks only those in "Available Font Weights". You can change the checkboxes at any time.

How do I add Adobe Fonts?

  1. Go to Settings → Typography Stylist → Custom Fonts.
  2. Find the "Adobe Fonts (Typekit)" section.
  3. Enter a project name.
  4. Paste your Adobe Fonts embed code (the <script> tag).
  5. Optional: enter the font family names for the preview list.
  6. Click "Add Adobe Fonts Project".
Make sure that your domain is authorized in your Adobe Fonts project settings. The fonts load from Adobe's servers.

How do I use a font that my theme already loads?

  1. Go to Settings → Typography Stylist → Custom Fonts.
  2. Find the "Custom Font Definitions" section.
  3. Enter a display name for the font.
  4. Enter the exact CSS font-family value, for example 'Playfair Display', serif.
  5. Optional: add fallback fonts, with commas between them.
  6. Click "Add Custom Font".
The font shows in the block editor's font list. The settings page cannot preview features for it.

Can I set fallback fonts?

Yes. For each uploaded font, Adobe font, and custom font definition, you can set fallback fonts. The browser uses them if the main font does not load.

What happens to my content if I delete a font?

When you delete a font, you can choose a replacement font. Content that used the deleted font then shows the replacement. You can manage these replacements on the Replacement Fonts tab. Use this when you change fonts for a rebrand.

How do paragraph styles work?

  1. Set the typography of some text in either editor.
  2. Click "Save Current Settings as Style" and give the style a name.
  3. To use the style, select other text. In a heading or paragraph, click "Browse styles…" and pick the style. In a Typography Stylist block, pick the style from the Paragraph Style list.
To change a style everywhere, change the settings on text that uses it and click "Update Style". The style browser shows 24 styles at a time. Click "Show more" to see the next 24.

Is this plugin accessible?

Yes. See the Accessibility section in the description for the two-copy pattern and the word-boundary notice. Settings → Typography Stylist → Accessibility has these options:

  • Inline Format: Add aria-label Attributes: add an aria-label to text that you style in a heading or paragraph block.
  • Disable Word Boundary Warning: turn off the notice about styles on part of a word.
Each Typography Stylist block also has an Accessibility panel in its sidebar. There, choose the class that hides the plain heading: visually-hidden, sr-only, or your own class.

Does the hidden heading cause a duplicate content problem for SEO?

No. Google's spam policies name "text that's only accessible to screen readers and is intended to improve the experience for those using screen readers" as hidden text that does not break their rules. The hidden heading and the styled copy contain the same text.

Should I style text in a heading block or use the Typography Stylist block?

  • Use a heading or paragraph block to style whole words or phrases.
  • Use a Typography Stylist block for letter-by-letter work, fit-to-width lines, or the most control over accessibility.

What file types can I upload?

A ZIP file that contains:

  • Font files: WOFF, WOFF2, TTF, OTF, or EOT.
  • Optional: a CSS file with @font-face rules. The plugin uses it as it is.

Is font upload secure?

The upload has these protections:

  • File type validation
  • Safe ZIP extraction, with protection against path traversal
  • CSS sanitization
  • A 10 MB size limit
  • Storage in a directory with .htaccess protection

Does this work with page builders?

The plugin is for the WordPress block editor. It works in a page builder only if the page builder uses block editor rich text.

Will this slow down my site?

The front end gets CSS only, with no JavaScript. A font loads only on the pages that use it. Font file size is the main cost, as with any web font. The JavaScript loads only in the block editor.

How do I know which features my font supports?

Open the font in the Glyphs Panel. It lists the OpenType features that the font contains, and shows every glyph for each feature. You can also read the font's documentation.

Do variable fonts work?

Yes. When you upload a variable font, the plugin reads its axes from the font file: weight, width, slant, optical size, and any custom axis. Each axis gets a slider in both editors, and the output is standard font-variation-settings CSS. The server reads TTF and OTF files. For a kit with only WOFF2 files, click "Detect Axes from Font File" in the font's settings to read the axes in your browser, or enter the axes by hand.

What does "register in the WordPress Font Library" do?

On WordPress 6.5+, the plugin adds new uploaded fonts to the WordPress Font Library automatically. You can turn this off in Options. To add older fonts, use the Custom Fonts tab, one font at a time or all together. WordPress can then use them like any Library font. In WordPress 7.1, the Font Library is at Appearance → Fonts. In earlier versions, open it from the Site Editor, in Styles → Typography. The font files stay where they are, and your existing content does not change. You can remove a font from the Library again. Adobe Fonts and custom font definitions stay in the plugin, because Adobe fonts load from Adobe's servers.

Where can I get beta versions or report bugs?

Beta builds are pre-releases on the GitHub Releases page. Download the attached ZIP and install it from Plugins → Add New → Upload. Report bugs on the GitHub issue tracker or on the WordPress.org support forum.

更新日志:

2.3.1 2.3.0 2.2.3 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 2.1.0 2.0.1