My First Wordpress Plugin
I did it. I wrote a word press plugin.
Now, I just need to study up a bit more and
write some database code. I can then create a web service
to parse using another program.
<?php /* Plugin Name: Only Your YOUR Plugin URI: http://www.welcometochrisworld.com/THEPOSTFORYOUR Description: This plugin replaces all occurrences of 'you're' with 'your' and places a link around 'your' explaining why I would do such a thing... I was tired of people correcting my use of the word you're. So, I decided I would never use the word again!" Version: 0.1 Author: Chris Stones Author URI: http://www.welcometochrisworld.com/ */ // wp-content/plugins only_use_your_plugin.php function only_use_your($text) { $your_link = "<a href=\"\">your</a>"; $cap_your_link = "<a href=\"\">Your</a>"; return $text; } add_filter('the_content','only_use_your'); ?>
"If there was ever a language that could help you to write
programs for a Quantum computer. Lisp would be it."
SWEET! Nice going! LOL, I like that… fixing your grammar using a plugin…