WordPress Plugin - Italicize FIRST, dangit!

Hey guys,

I know that when I check out other team’s websites, I get pretty anal about FIRST being italicized in formal writing.

I decided to write up a small little WordPress plugin that will fix this on your site. Rather than doing everything manually, I just have a filter go through and change them all yourself, it will for you! :slight_smile:

Download here: http://cl.ly/42DB

Basically, it goes and finds all instances of FIRST or F.I.R.S.T. and replaces it with <em>FIRST</em>.

It is smart and will undo double emphasizing it (<em><em>FIRST</em></em>).

Hope this is useful to someone…

Thanks!
JD Hartley
Team 930

I was working on our website update today (going from Joomla! to WP) and thought it would be pretty cool to have that automatically done. Like no joke. Pretty freaking sweet release :).

I am changing our website to Wordpress and I like the thought of this plugin.

One question… will it italicize lowercase spelling of "first or italicize “First”? Basically, will it italicize the word “first” when it’s not used as the acronym and it’s not in all caps?

Thanks for making this! It was a great idea!

Ryan,

The plugin will only replace FIRST in all caps or F.I.R.S.T. (also in all caps). Any instance of “first” or “First” will be ignored. :slight_smile:

-JD

Hello again,

Just thought I would pop in and post that I released 1.1 of this plugin… it applies the filter to the_excerpt too.

New download link: http://cl.ly/47GS

Old one is now obsolete.

-JD

Is it possible to put this on Github, or Google Code so people in the community can add more FIRST centric things as needed in Wordpress?

I’m not sure what kind of things are needed, but I’m sure someone can think of somethings.

Italics isn’t used for the name of organizations. Who italicizes Coca Cola or McDonalds?

FIRST actually italicizes it on their own website, and somewhere there are guidelines on doing so as well

(look at this page: http://www.usfirst.org/aboutus/content.aspx?id=880 – lots of italicization)

Edit: Top of page 18: http://www.usfirst.org/uploadedFiles/Robotics_Programs/FRC/FRC_Communications_Resource_Center/Branding_and_Logos/FIRSTbrandGuide_MAR262010.pdf

@Boydean
Sorry, missed your post.

I would be happy to get this up on Google Code sometime soon. Maybe we could call it the “FIRST Essentials Pack for WordPress” or whatever… just some cool features geared towards FIRST team websites.

Maybe even throw an options page to disable features they don’t want activated… sounds like a fun little project. :slight_smile:

-JD

http://www.usfirst.org/uploadedFiles/Robotics_Programs/FRC/FRC_Communications_Resource_Center/Branding_and_Logos/UseofUSFIRSTandLEGOGroupTrademarksandCopyrightedMaterials_FINAL.pdf

See section III part 5.

I am having some issues with images that have FIRST in the alt part of an img tag. Anyway to disable it from trying to “attack” images, haha?

Bump… How can I prevent the plugin from trying to add <em></em> tags within the alt portion of an img tag?

I just installed this. Thanks for making it!

Great plugin!

I have one suggestion:

  • add logic to check to see if “FIRST” is inside a <tag> - don’t italicize in that case