Linux 软件免费装
Banner图

Typography Stylist

开发者 matthewneilcowan
更新时间 2026年11月2日 22:30
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

typography opentype ligatures glyphs variable fonts

下载

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

详情介绍:

Some of your fonts’ best work is hidden. Professional fonts often contain swashes, stylistic sets, ligatures, and alternate characters. Without a tool, you must type these characters by hand inside inline spans. This is slow, mistakes are easy, and the result can be difficult for screen readers. Typography Stylist adds controls for these features to the block editor, and it keeps the text accessible. 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. Save the result as a paragraph style for the rest of the site, and later update the style everywhere at one time. 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, paragraph, or other text block. Select the text, then click “Typography Stylist Features” (a swash “T”) in the block toolbar. Use this for whole words and phrases. Changes apply at once.
  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.
The block toolbar also has a Glyphs button and a Paragraph Styles button. To remove them, turn them off in Settings → Typography Stylist → Options. 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 has a button that converts the block 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 the font 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.
  5. Select text in a heading, then click “Typography Stylist Features” in the block toolbar.

屏幕截图:

  • The Paragraph Styles browser shows each saved style in its own typeface, with the selected words as the sample text.
  • The inline editor on a heading block. Swashes (swsh) is on, and the change shows at once on the selected text.
  • The Quick Feature Toggles in the Typography Stylist block. These controls change only the selected text. Here they give one word a different variable-font weight.
  • The Typography Stylist block with its sidebar controls. For a variable font, a Weight axis slider replaces the weight list.
  • The variable axis settings of one font. The plugin detects the axes from the font file. The settings also show the ranges and the WordPress Font Library registration.
  • The Font Features tab shows a preview of each OpenType feature, with your own text in the selected font.
  • The font list shows uploaded kits, Adobe Fonts, and WordPress Font Library fonts, with Variable and registration badges.
  • The Accessibility panel of the block. It sets the screen reader class for the two-copy pattern that keeps styled text accessible.

升级注意事项:

2.3.5 Adds Export & Import for paragraph styles, presets, options and font settings, Case for selected text, and alignment and line breaking in paragraph styles. The update turns on the Glyphs and Paragraph Styles toolbar buttons one time. To remove them, turn them off in Options. 2.3.4 Adds an Edit form for every paragraph style setting, and styles based on other styles. Repairs Font Library fonts that the plugin registered. Before you go back to an earlier version, choose "None" in "Based on" for each style based on another style. 2.3.3 Adds a Case setting and paragraph styles on whole core Paragraph and Heading blocks. Authors and Contributors now keep OpenType features, variable font axes and small caps when they save a post (features and axes need WordPress 7.0.1 or later). Fixes paragraph styles that stored the theme's font. No data migration. 2.3.2 By default, new font sizes follow the reader's default font size and grow with browser zoom. A new Options setting writes px without zoom growth. Adds First Letter Hang and fixes for fit-to-width, inline font sizes, presets and glyph weights. Content saved before keeps its sizes. No data migration. 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 a different 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, a different 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. Open “Add Font”, then open “Upload Font Kit”.
  3. Click “Choose ZIP File” and select your webfont kit ZIP.
  4. 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 the metadata of each font and makes the @font-face CSS. For a variable font, the CSS includes the weight range. 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 weights 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. Open “Add Font”, then open “Add Adobe Fonts Project”.
  3. Paste the embed code of your Adobe Fonts project (the <link> tag) into “Adobe Fonts Embed Code”. The older <script> embed code also works.
  4. In “Font Family Names”, enter the font family names from your project, with commas between them. This field is necessary.
  5. 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. Open “Add Font”, then open “Add Custom Font Definition”.
  3. In “Font Name”, enter a display name for the font.
  4. In “CSS Font Family”, enter the exact CSS font-family value, for example 'Playfair Display', serif. You can include fallback fonts in this value.
  5. Click “Add Custom Font”.
The font shows in the block editor’s font list. The plugin does not load the font. The settings page cannot preview features for it.

Can I set fallback fonts?

Yes. Click the name of a font on the Custom Fonts tab to open its settings. Enter the fallback fonts in “Fallback Fonts (optional)”, with commas between them. The browser uses them if the main font does not load. Content refers to a font through a CSS variable, so the change applies to existing content too.

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. Select other text.
  4. To apply the style 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 style a whole Paragraph or Heading block, open Paragraph Style in the block sidebar and click “Browse styles…”. The style goes into the block’s “Additional CSS class(es)” field as typost-styled typost-ps-N. Do not remove those two classes by hand; use “Detach Style” instead. To change a style everywhere, change the settings on text that uses the style and click “Update Style”. The style browser shows 24 styles at a time. A button under the list shows the next styles. To base a style on another style, click “Edit” on the style in Settings → Typography Stylist → Paragraph Styles and choose a style in “Based on”. The style then uses that style’s value for every setting it does not set itself, and follows later changes to it. The card marks each value as “Inherited” or “Override”, and “Reset to Base” in the Edit form removes all overrides. When you delete a style, the styles based on it keep their look.

How do I move paragraph styles to another site?

  1. On the first site, go to Settings → Typography Stylist → Export & Import. Choose all styles or only some, and click “Download export file”. The styles that the chosen styles are based on are added to the file.
  2. On the other site, upload the fonts that the styles use, if they are uploaded font kits. Adobe Fonts projects and custom font definitions can come from the file.
  3. On the other site, open the same tab, choose the file, and click “Preview import”. The preview shows each font and the font on this site that it matches. If more than one font matches, choose one. It also shows each style. A style whose name already exists is skipped unless you choose “Add with a new name” or “Overwrite the style on this site”.
  4. Click “Import”. The result lists the styles that were added and the fonts that were not found. A style whose font was not found uses the theme font.
Imported styles get new IDs, so content on the other site that already uses a style ID never changes. Only administrators can import. The file can also hold your presets, the settings on the Options and Accessibility tabs, and the Feature Visibility and variable font axes of each font. For each option that has another value on the other site, you choose which value to keep.

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:

  • Disable Word Boundary Warning: Turns 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, screen-reader-text, 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 for the ZIP, and 1 MB for a CSS file
  • 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. You can also 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.5 2.3.4 2.3.3 2.3.2 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