Descriere
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.
Instalare
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.
Întrebări frecvente
- 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;
injs/cornify.js
to the number of (milli)seconds you would like before unicorns start showing up.
Recenzii
Contributori și dezvoltatori
„Cornify for WordPress” este un software open-source. La acest modul au contribuit următoarele persoane.
ContributoriTradu „Cornify for WordPress” în limba ta.
Te interesează dezvoltarea?
Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.
Istoric modificări
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 incornify-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 oftemplate_redirect
1.0
- Just launched.