Linux 软件免费装

SafeFonts

开发者 chrmrtns
更新时间 2025年11月14日 15:27
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPLv2 or later
版权网址: 版权信息

标签

gutenberg fonts custom fonts typography google fonts

下载

1.1.2 1.1.1 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9

详情介绍:

SafeFonts helps you comply with GDPR by hosting fonts locally and avoiding third-party requests, with seamless Gutenberg integration and CSS variables support. If you need to host custom fonts locally on your WordPress site for performance, privacy, or GDPR compliance, SafeFonts makes it simple with advanced security validation, automatic integration with the WordPress block editor, and CSS variables for custom CSS usage. Compatible With Block Editors: Why Choose SafeFonts? 🔒 Security-First Approach [youtube https://youtu.be/aktC4iLSwpI] Watch this quick tutorial to see how easy it is to upload and use custom fonts in WordPress. 🎯 Simple Upload Process Perfect For How It Works
  1. Upload Fonts: Go to SafeFonts menu and upload your font files
  2. Configure Details: Set font family name, weight (100-900), and style (normal/italic)
  3. Use Everywhere: Your fonts automatically appear in:
  4. Gutenberg block editor typography settings
  5. CSS variables for custom CSS (check CSS Reference page)
  6. WordPress 6.5+ Font Library
  7. That's It! Fonts are served locally with optimal performance
Getting Google Fonts Download Google Fonts from these sources: Once downloaded, upload the font files (.woff2, .woff, .ttf, .otf) through SafeFonts > Upload tab. Need more features? SafeFonts Pro offers bulk ZIP imports, page builder integration, and advanced font management. Learn more Supported Font Formats WordPress 6.5+ Font Library If you're using WordPress 6.5 or higher, SafeFonts automatically integrates with the native Font Library in the Site Editor, giving you a unified font management experience.

安装:

Automatic Installation (Recommended)
  1. Go to Plugins > Add New in your WordPress admin
  2. Search for "SafeFonts"
  3. Click Install Now, then Activate
  4. Go to SafeFonts in the admin menu to start uploading fonts
Manual Installation
  1. Download the plugin zip file
  2. Go to Plugins > Add New > Upload Plugin
  3. Choose the zip file and click Install Now
  4. Click Activate Plugin
  5. Go to SafeFonts in the admin menu
First Steps After Installation
  1. Upload Your First Font: Go to SafeFonts > Upload tab
  2. Fill in Font Details: Enter font family name, select weight and style
  3. Upload File: Choose your font file (.woff2 recommended)
  4. Use in Gutenberg: Your font now appears in block typography settings
  5. Check CSS Reference: Visit SafeFonts > CSS Reference to see your CSS variables and implementation details

屏幕截图:

  • Font upload form with security validation
  • Installed fonts list with previews
  • Settings page for file size and type configuration
  • System information and WordPress 6.5+ compatibility check
  • Fonts automatically available in Gutenberg typography settings

升级注意事项:

1.1.0 Font organization enhancement: Fonts are now organized in family-specific folders for better management. Automatic migration included - your existing fonts will be seamlessly moved to the new structure on update. UI improvement with clearer badge colors. 1.0.9 Important update: Font storage moved to wp-content/uploads/safefonts/ for WordPress best practices. All existing fonts will be automatically migrated on activation. Update recommended for better compatibility and font persistence. 1.0.8 Feature enhancement: Uploaded fonts now automatically appear in Gutenberg font picker. Makes custom fonts instantly usable in all blocks with typography controls. 1.0.7 Accessibility improvement: Enhanced keyboard navigation and screen reader support for better WCAG compliance. 1.0.6 Critical fix: Font uploads now work correctly! Fixed extension detection issue that was preventing all uploads. Required update for all users. 1.0.5 Important fix: Resolves MIME type validation errors during font uploads. Includes better error messages to diagnose upload issues. Recommended for all users experiencing upload problems. 1.0.4 Critical fix: Resolves font upload failures caused by missing directory structure. All users should update immediately and deactivate/reactivate to create proper directories. 1.0.3 Critical fix: Updates database table name to prevent conflicts with other plugins. Required for all users - please deactivate and reactivate the plugin after updating to create the new table. 1.0.2 Bug fix release: Fixes WordPress 6.5+ Font Library validation errors on fresh installs. Recommended for all users. 1.0.1 Adds MIME type support for font uploads and improves admin interface. Recommended update for all users. 1.0.0 Initial release of SafeFonts - Secure Font Manager for WordPress.

常见问题:

What font formats are supported?

SafeFonts supports WOFF2, WOFF, TTF, and OTF font files. We recommend WOFF2 for the best compression and performance.

Is this GDPR compliant?

Yes! SafeFonts stores all fonts locally on your server, so no data is sent to external services like Google Fonts. This makes it GDPR compliant.

Does this work with Gutenberg?

Absolutely! Uploaded fonts automatically appear in:

  • All block typography settings
  • Paragraph and heading blocks
  • Any block with font family support
  • WordPress 6.5+ Font Library (if available)

Can I use this with page builders?

The free version works with Gutenberg and provides CSS variables that can be manually used with any builder or theme supporting CSS custom properties (like Builderius, Bricks, Oxygen, and others). Simply use var(--safefonts-font-slug) in typography fields or custom CSS. For automatic integration (14 integrations including Elementor, Bricks, Beaver Builder, Divi, Oxygen, Brizy, Builderius, Astra, GeneratePress, Kadence, Blocksy, Kadence Blocks, Spectra, and GenerateBlocks) where fonts appear directly in builder dropdowns, check out SafeFonts Pro.

How does the security validation work?

SafeFonts performs multiple security checks:

  • File extension validation
  • MIME type verification
  • Magic byte signature checking
  • File size limits
  • SHA-256 hash generation for integrity

Will this slow down my site?

No! SafeFonts uses a custom database table (not WordPress post meta) for optimized fast queries. Fonts are served as static CSS files with no JavaScript overhead.

Can I upload Google Fonts?

Yes! Download the font files from Google Fonts, then upload them individually through SafeFonts. For bulk imports from our Google Fonts Downloader tool, check out SafeFonts Pro.

What's the difference between SafeFonts Free and Pro?

SafeFonts Free includes:

  • Individual font file uploads
  • Gutenberg integration
  • CSS variables for custom CSS usage
  • CSS Reference page with documentation
  • Security validation
  • WordPress 6.5+ Font Library support SafeFonts Pro adds:
  • Page builder & theme integration (14 integrations: Elementor, Bricks, Beaver Builder, Divi, Oxygen, Brizy, Builderius, Astra, GeneratePress, Kadence, Blocksy, Kadence Blocks, Spectra, GenerateBlocks)
  • Bulk ZIP package imports from Google Fonts Downloader
  • Enhanced admin interface with bulk operations
  • Advanced font management tools (family deletion, CSS variables, etc.) Learn more

Where are the font files stored?

Font files are stored in /wp-content/uploads/safefonts/ organized by font family (e.g., /roboto/, /open-sans/) with proper security protection. Font metadata is stored in a custom database table for fast retrieval.

Can I delete fonts?

Yes! Each font has a delete button in the SafeFonts admin interface. Deleting a font removes both the file and database entry.

更新日志:

1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1.1 1.1.0 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0