Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Cornify for WordPress

Beskrivning

Adds Cornify (cornify.com) to your WordPress. After five seconds of inactivity the site will show unicorns
to the visitor until they interact with the site again. This was developed primarily as an April fools joke.

Skärmdumpar

  • A cornified site

Installation

Just activate the plugin and if you don’t interact with your site you should see unicorns. There is no control panel, at least for the moment.
See FAQ for manual options. When you’re done with it and had enough, just deactivate it.

Vanliga frågor

The plugin doesn’t seem to work. Do I need anything special in my theme?

Yes, your theme must have a call to php wp_footer(); ?> at the very bottom right before the ” tag.

Can I change the interval of the unicorns?

Yes, you can change var idol_time = 5000; in js/cornify.js to the number of (milli)seconds you would like before unicorns start showing up.

Recensioner

3 september 2016
Never hurts to engage your visitors in a fun way! See if it has any effect on your bounce rate, or just use it as a prank. 😉
3 september 2016
You put all this hard work into your website. You toil for hours to update your SEO and make sure people can find the valuable information you have to share. You research latest design trends and make your place as hospitable as possible. But then people visit it and don’t pay attention – what the hay?! That’s where the Cornify plugin comes in. People walk through your doors, and if their attention begins to wander, they’re slammed with a sea of unicorns. They have to figure out – ”Is it me, or is it my computer?” ”What was in my coffee this morning?” It doesn’t stop there. If they keep ignoring your valuable work, all the text turns into Comic Sans, just to make sure they feel the same pain you do. Cornify Plugin – it’s your prerogative.
Läs alla 4 betyg

Bidragsgivare och utvecklare

”Cornify for WordPress” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Cornify for WordPress” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.3

  • Tested with WordPress 5.3.1
  • Update external call to Cornify.com to use https to avoid mixed content warnings.

1.2

  • Tested with WordPress 4.9 RC2
  • Removed manual if statement in cornify-wordpress.php plugin is now always on. This option may come back as an option.

1.1

  • Added JS to the footer instead of the header
  • Moved JS to a folder instead of in the root
  • Renamed utils.js to cornify.js
  • Use wp_enqueue_scripts instead of template_redirect

1.0

  • Just launched.