<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="https://brooke.codes/wp-content/plugins/pretty-rss-feeds/xslt/pretty-feed.xsl" type="text/xsl" media="screen" ?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rainbows &#8211; &lt;Brooke&gt; &lt;Codes&gt;</title>
	<atom:link href="https://brooke.codes/tag/rainbows/feed/" rel="self" type="application/rss+xml" />
	<link>https://brooke.codes</link>
	<description>The Tech Blog of Brooke. </description>
	<lastBuildDate>Thu, 27 Mar 2025 04:05:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>April Fools Plugin: Cornify for WordPress Released</title>
		<link>https://brooke.codes/2011/04/03/cornify-for-wordpress/</link>
		
		<dc:creator><![CDATA[Brooke.]]></dc:creator>
		<pubDate>Sun, 03 Apr 2011 21:09:56 +0000</pubDate>
				<category><![CDATA[php]]></category>
		<category><![CDATA[wp-plugins]]></category>
		<category><![CDATA[april fools]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[rainbows]]></category>
		<category><![CDATA[unicorns]]></category>
		<guid isPermaLink="false">https://brooke.codes/?p=191</guid>

					<description><![CDATA[In case you missed it I decided to do a small April Fools prank this year. I came across cornify.com and liked the way it worked. I thought it would be funny to have the unicorns pop up if the user was inactive on the site for longer than a few seconds. So I got [&#8230;]]]></description>
										<content:encoded><![CDATA[
<blockquote class="wp-block-quote is-style-info-notice is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph"><strong>Note: </strong>This post refers to code and a project from <em>many</em> years ago <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f631.png" alt="😱" class="wp-smiley" style="height: 1em; max-height: 1em;" />. The content was edited in March of 2025 to remove dead links, improve clarity, or fix formatting, but no other edits were made. Enjoy this time capsule into the past.</p>
</blockquote>



<p class="wp-block-paragraph">In case you missed it I decided to do a small April Fools prank this year. I came across cornify.com and liked the way it worked. I thought it would be funny to have the unicorns pop up if the user was inactive on the site for longer than a few seconds. So I got to hacking the script and came up with a simple plugin <a href="https://wordpress.org/plugins/cornify-for-wordpress/">Cornify for WordPress</a>. This is a simple WordPress plugin for the self hosted WordPress blog that will show unicorns to the inactive user. There isn&#8217;t a control panel but if you read the readme you do have a few options for modifying the script.</p>



<p class="wp-block-paragraph">Without further ado here is a screenshot:</p>



<figure class="wp-block-image aligncenter"><a href="https://brooke.codes/wp-content/uploads/2011/04/cornify.png"><img fetchpriority="high" decoding="async" width="800" height="434" src="https://brooke.codes/wp-content/uploads/2011/04/cornify.png" alt="" class="wp-image-193" title="cornify" srcset="https://brooke.codes/wp-content/uploads/2011/04/cornify.png 800w, https://brooke.codes/wp-content/uploads/2011/04/cornify-300x163.png 300w, https://brooke.codes/wp-content/uploads/2011/04/cornify-768x417.png 768w" sizes="(max-width: 800px) 100vw, 800px" /></a></figure>



<p class="wp-block-paragraph"></p>



<h3 class="wp-block-heading"><a href="https://wordpress.org/plugins/cornify-for-wordpress/">Get the plugin today!</a></h3>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
