“Easy Flashcards” WordPress Plugin

Florin Muscalu
1 min readDec 6, 2020

This is my first foray into the “fascinating” WordPress development.
It’s a simple plugin designed to bring flashcards to your blog in a very easy way. First step is to install it from here.

Next step is to define the json file with questions. The format is depicted below:

{
"q1":{"q":"2 to the 10th?", "a":"1024"},
"q2":{"q":"Value of PI?", "a":"3.14"}
}

I believe it’s self explanatory, so I will not go into details. You can add as many questions as you like, and you can include HTML tags in both the question (q) and the answer (a).

Once you have you question file on the server, it’s time to use it. To do this, you use the following format in your WP post/page:

[easyfc title="General knowledge" file="flashcards/general_k.txt"/]

You just give it the title and the path to your file, and make sure you don’t forget the square parenthesis. What you get can be seen here.

Finally, the plugin comes preconfigured for the English language, however you can change this to suit your own needs. For that, go to the admin dashboard in WP and look for Easy Flashcards on the left side of your window.

Thank you and please let me know what you think about it and if there is anything I can do to improve it.

--

--