HTML Tag for Custom Font

Now that we've linked our custom font control to the Short Stack font, it's time to put it to use in a page or post.

Go ahead and open a page or post document. Once you're in edit mode, be sure to click the Text tab.

Now, you won't be able to select the font control in the same way that you'd select, say, Heading 1 or Heading 2. Instead, you'll have to use an HTML tag for the custom font. This basically tells WordPress that anything found between the opening and closing tags, should be formatted using our new AWESOME font control:

So, if you wanted to type a paragraph using the new "awesome" font, you would simply type your paragraph between the tags shown above, like this:

The first line has NO formatting. The second line is exactly the same but it will be formatted with our new awesome font.

For the last page of this tutorial, we'll see our newly formatted paragraph!



Join the Discussion
Write something…
Recent messages
Toshmack Premium
Yep, great information, Steve, well done my friend.
Cheers, Tosh :)
Reply
StepChook Premium
Thanks Buddy!
Reply
JudeP Premium
Fab, easy to follow training. Thanks so much :)
Reply
StepChook Premium
Thanks Jude.
Reply
Sowilo Premium
O this is very cool! Thanks for sharing!
Reply
StepChook Premium
Thank you, Wayne.
Reply
DawnHall1 Premium
What is a font?
Reply
StepChook Premium
It's a type setting; a lettering style.
Reply
Steve1958 Premium
Thanks Steve...very handy to know about!
Reply
StepChook Premium
Thanks, Steve.
Reply
Steve1958 Premium
What are doing up?
You should in bed, sound asleep! lol :)
Reply
StepChook Premium
LOL! I know! It's 1am here in QLD!

I'm turning off the lights right now - I promise!
Reply
Steve1958 Premium
I knew that!
You guys are behind us in summer...it's 1:34...
It will be my turn shortly! Droopy eyes are happening! :)
Reply
StepChook Premium
Mate! Were you up late watching the cricket, or something?
Reply
Steve1958 Premium
Nah...I only like 20:20 because it goes so fast...mind you...the last few tests have been all over red rover the fastest I have ever known...how embarrassing for US!

I'm an AFL'er in winter...tennis in summer...I don't have time for anymore than that!!! :)

I'm doing 2 internet marketing courses at the moment...WA and another one based in UK...keeps me juggling a few balls in the air most of my waking hours! :)
Reply
Top