Skip to content

Releases: wordpress-parsi/PFont

Pfont first release 1.5.0

Choose a tag to compare

@SaeedFard SaeedFard released this 06 Oct 01:50
bad2466

PFont keeps one central font library and adds those fonts to the native font dropdowns of the editors and builders you already use. It only uses documented, verified hooks and never edits core, theme or builder files.

What it does

Upload WOFF2, WOFF, TTF and OTF files. Every file is checked by its real contents (magic bytes), not only by its name.
Add Google Fonts from the CDN (Google or the privacy-friendlier Bunny Fonts), or download them to your own server with one click.
Ships five Persian/Arabic presets you can add in one click: Vazirmatn, Estedad, Parastoo, Lalezar and Markazi Text (all SIL Open Font License). Nothing is enabled automatically.
Loads a font only on pages that actually use it. Pages without custom fonts get no extra CSS, requests or JavaScript.
WOFF2 first, font-display: swap by default, preconnect only when a CDN font is used.
Honest integration status screen: every integration shows Active, Limited, Unsupported or Not detected, with the reason.
A searchable library that previews every font in your own text, in Persian or Latin, at any size.
A type tester for each font: weight, italic, size, line height, alignment and right-to-left, plus a size waterfall, the character set and copyable CSS.
Optional: use one of your fonts for the WordPress admin area (Settings → WordPress admin). Icons, code fields and the content you edit keep their own fonts.

Integrations

Classic Editor (TinyMCE): font dropdown, fonts preview inside the editor.
Block Editor: fonts appear in Typography → Font for every block and in Global Styles. Theme fonts are kept (the list is appended, not replaced).
Elementor: own “PFont” group in every typography control. Elementor’s own Google entries are never overwritten by CDN copies.
Astra: fonts appear in the Customizer typography controls. Local fonts are never sent to Google.
Kadence: fonts appear in the Customizer. GeneratePress: type the family name in its Font Manager; the plugin loads the files.

Themes without a public font hook are reported as unsupported instead of being hacked.

Divi and WoodMart are not integrated: both already include their own custom font upload, so add the font there (Divi: the Upload button inside any font menu; WoodMart: Theme Settings → Typography → Custom fonts).