Flashcard is a WordPress plugin that enables your website to display animated flashcards to help language learning.
With its 3D rotation animation handled by rotate3Di – Zachary Johnson’s jQuery plugin, Flashcard is a WordPress plugin that allows you to configure and display a series of animated flashcards on your website. The data is loaded from a tab-deliminated UTF-8 text file saved in the media library. See the demo on Liang Shao’s Flashcard Plugin website. Just mouse over the flashcards to make them flip over and reveal the content on their reverse sides.
This plugin follows the standard WordPress installation method:
This is an example. By default, the first column contains the contents to display on the front side of flashcard, and the second column is for the back side. You can create it from a text editing application such as EditPlus or generate it from Microsoft Excel spreadsheet.
The source is the only required parameter for the shortcode, everything else is optional. By default, the order will be the same as in text file, all records will be displayed, and content in the first row will be shown on the front side of the card.
Flashcard plugin requires the data file in UTF-8 format. If your text file displays multibyte characters properly but not doing so in Flashcards, your file is probably saved in Unicode format. Microsoft Excel can only export multibyte characters in Unicode, so afterwards you need to use a text editing application like EditPlus to convert the file from Unicode to UTF-8 then re-upload to media library.
Width and height of flashcards in pixels, the background color, text color, text size of the front and back side of the flashcards.
Created the plugin.
Fix the compatibility issue with 3.6
Changed hover-to-flip action to click-to-flip action
minor css adjustments
Replaced fopen() function with curl() function for sites that had disabled fopen() functions