Add Christmas Fonts to Divi

Written by Dan Mossop

What better way to spread holiday cheer on your Divi website than by dressing it up with some custom Christmas fonts? Whether you're crafting a festive landing page, holiday promos, or simply looking to add a touch of yuletide to your blog, incorporating Christmas fonts into your design can truly set the mood. Below we'll walk you through the steps to add Christmas fonts to Divi, taking your site's holiday spirit to a whole new level. 

To add Christmas fonts to your Divi site:

  • Use the Divi Christmas Fonts plugin for integrated fonts, or
  • Manually download fonts and save in the WordPress 'fonts' folder then add them via PHP code to Divi's font options.

The new fonts will appear in Divi modules under "Custom Fonts".

Adding Christmas Fonts to Divi Using the Divi Christmas Fonts Plugin

Divi Christmas Fonts plugin adds a selection of fun Christmas fonts to Divi's in-built set of fonts. No downloading or installing fonts manually; it's all integrated for you. Once the plugin is installed, these Christmas fonts should now appear in the font selection menu within your Divi modules. They'll be listed near the top under "Custom Fonts." 

Adding Christmas Fonts to Divi Using PHP Code

If you'd like to go the DIY route and add Christmas fonts via PHP, here's how to do it. 

Step 1: Download Your Festive Fonts

Before we delve into code, you'll need to download the fonts. We've selected a range of cheerful typefaces available as freeware or public domain. Make sure to download the following fonts from FontSpace:

Each font should be saved into a folder titled fonts in the WordPress root directory, each within a folder matching the name referenced in the code (parallel to the .zip file name from the download).

Step 2: Add the Custom Fonts to Divi via PHP

Next, you'll integrate the fonts into Divi with the following PHP snippet. This code registers the new fonts with Divi's builder, so they'll be selectable like any of Divi's built-in typefaces:

1if (!function_exists('divibooster_add_custom_font')) {
2
3 function divibooster_add_custom_font( $custom_fonts ) {
4
5 $font_dir = site_url().'/fonts';
6
7 $custom_fonts['Ice Caps'] = array(
8 'styles' => 'normal',
9 'character_set' => 'latin',
10 'font_type' => 'tff',
11 'font_url' => $font_dir . '/ice-caps-font/IceCaps-7rLD.ttf',
12 'type' => 'sans-serif'
13 );
14
15 $custom_fonts['Big Snow'] = array(
16 'styles' => 'normal',
17 'character_set' => 'latin',
18 'font_type' => 'tff',
19 'font_url' => $font_dir . '/big-snow-font/BigSnow-9ZEj.ttf',
20 'type' => 'sans-serif'
21 );
22
23 $custom_fonts['Christmas Tree'] = array(
24 'styles' => 'normal',
25 'character_set' => 'latin',
26 'font_type' => 'tff',
27 'font_url' => $font_dir . '/christmas-tree-font/ChristmasTree-1aj4.ttf',
28 'type' => 'sans-serif'
29 );
30
31 $custom_fonts['It is Beginning to Look'] = array(
32 'styles' => 'normal',
33 'character_set' => 'latin',
34 'font_type' => 'tff',
35 'font_url' => $font_dir . '/its-beginning-to-look-a-lot-lik-font/ItsBeginningToLookALotLikeChristmas-qK41.ttf',
36 'type' => 'sans-serif'
37 );
38
39 $custom_fonts['Magic Christmas'] = array(
40 'styles' => 'normal',
41 'character_set' => 'latin',
42 'font_type' => 'tff',
43 'font_url' => $font_dir . '/magic-christmas-font/MagicChristmas-Doqm.ttf',
44 'type' => 'sans-serif'
45 );
46
47 return $custom_fonts;
48 }
49
50 add_filter( 'et_builder_custom_fonts', 'divibooster_add_custom_font' );
51}

Step 3: Use the Fonts in your Divi Modules 

Once you've added the code and placed the font files in the correct directories, these Christmas fonts should now appear in the font selection menu within your Divi modules. They'll be listed near the top under "Custom Fonts."

Spruce Up Your Site with Divi Christmas Fonts!

Add a festive touch to your text elements with Divi Christmas Fonts. Featuring 15 joyful fonts, easily integrated into any module with font support, this plugin ensures your holiday messages stand out. Licensed for commercial use without attribution.

About Dan Mossop

Dan is a Scottish-born web developer, now living in Brisbane with his wife and son. He has been sharing tips and helping users with Divi since 2014. He created Divi Booster, the first Divi plugin, and continues to develop it along with 20+ other Divi plugins. Dan has a PhD in Computer Science, a background in web security and likes a lot of stuff, 

0 Comments

Submit a Comment

Comments are manually moderated and approved at the time they are answered. A preview is shown while pending but may disappear if your are cookies cleared - don't worry though, the comment is still in the queue.

Your email address will not be published. Required fields are marked *.

We may earn a commission when you visit links on our website.

Latest From Divi Booster

Enable Automatic Looping for YouTube Videos in the Divi Video Module

Enabling automatic looping for YouTube videos in your Divi video module ensures that content plays seamlessly and continuously without interruption. This feature can enhance user engagement, highlight key information, or create dynamic visual effects on your website....

Hide Video Controls in Divi Video Module

Disabling YouTube video controls in the Divi Video Module helps create a seamless, distraction-free viewing experience for your site visitors. This approach is useful when you want full control over how your video content appears and is interacted with on the page, or...

Mute YouTube Videos by Default in the Divi Video Module

In the Divi Video Module, starting your YouTube videos muted by default can create a more user-friendly browsing experience on your webpage. It is particularly beneficial for reducing distractions, enhancing visitor engagement, and providing a seamless content preview...

Autoplay Videos in Divi Video Module

Enabling videos in your Divi video module to start playing automatically can enhance both the site's design and user engagement. To ensure full compatibility with browser requirements, such as Chrome's autoplay policy, it's often necessary to start your videos muted...

How to Add the Post Status in Divi's Dynamic Content

Divi's Dynamic Content feature is great for enhancing your post/page templates with post-specific information. While Divi includes an option to show information such as the Post Created Date using Dynamic Content, there is no equivalent option for the Post Status....

Random Divi Posts