Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Website Design/Showcase (http://www.chiefdelphi.com/forums/forumdisplay.php?f=64)
-   -   WordPress Plugin - Italicize FIRST, dangit! (http://www.chiefdelphi.com/forums/showthread.php?t=89237)

jdh 15-01-2011 15:54

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! :)

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

Dustin Shadbolt 16-01-2011 20:48

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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 :).

RyanCesiel 17-01-2011 16:06

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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!

jdh 17-01-2011 16:52

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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. :)

-JD

jdh 20-01-2011 20:11

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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

Boydean 20-01-2011 20:16

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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.

Chris is me 20-01-2011 20:19

Re: WordPress Plugin - Italicize FIRST, dangit!
 
Italics isn't used for the name of organizations. Who italicizes Coca Cola or McDonalds?

jdh 20-01-2011 20:21

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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..._MAR262010.pdf

jdh 20-01-2011 20:23

Re: WordPress Plugin - Italicize FIRST, dangit!
 
@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. :)

-JD

Boydean 20-01-2011 20:57

Re: WordPress Plugin - Italicize FIRST, dangit!
 
Quote:

Originally Posted by Chris is me (Post 1004584)
Italics isn't used for the name of organizations. Who italicizes Coca Cola or McDonalds?

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

See section III part 5.

RyanCesiel 22-01-2011 09:19

Re: WordPress Plugin - Italicize FIRST, dangit!
 
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?

RyanCesiel 28-01-2011 22:56

Re: WordPress Plugin - Italicize FIRST, dangit!
 
Bump... How can I prevent the plugin from trying to add <em></em> tags within the alt portion of an img tag?

Carl C 13-02-2011 08:54

Re: WordPress Plugin - Italicize FIRST, dangit!
 
I just installed this. Thanks for making it!

Mr. Lim 25-07-2011 19:26

Re: WordPress Plugin - Italicize FIRST, dangit!
 
Great plugin!

I have one suggestion:

+ add logic to check to see if "FIRST" is inside a <tag> - don't italicize in that case


All times are GMT -5. The time now is 15:54.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi