|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
||||
|
||||
|
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 Last edited by jdh : 15-01-2011 at 16:05. Reason: Making the title say it's a WordPress plugin ;) |
|
#2
|
||||
|
||||
|
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
. |
|
#3
|
|||||
|
|||||
|
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! |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
||||
|
||||
|
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. |
|
#7
|
||||
|
||||
|
Re: WordPress Plugin - Italicize FIRST, dangit!
Italics isn't used for the name of organizations. Who italicizes Coca Cola or McDonalds?
|
|
#8
|
||||
|
||||
|
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 Last edited by jdh : 20-01-2011 at 20:27. Reason: posted link for Branding |
|
#9
|
||||
|
||||
|
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 |
|
#10
|
||||
|
||||
|
Re: WordPress Plugin - Italicize FIRST, dangit!
Quote:
See section III part 5. |
|
#11
|
|||||
|
|||||
|
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?
|
|
#12
|
|||||
|
|||||
|
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?
|
|
#13
|
||||
|
||||
|
Re: WordPress Plugin - Italicize FIRST, dangit!
I just installed this. Thanks for making it!
|
|
#14
|
||||
|
||||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|