More Persian
I’ve been working on getting the “accordions” to work with Persian site and Stacy thought it would be a good learning experience to implement it myself with javascript.
What I have so far is a script that essentially the hidden elements by changing their display from “none” to “block”.I then added this to the wordpress site using wp_enqueue_script to attach it to all single_functions.php
The result so far is a little jarring but eventually I will add animations and fix the layout so that it looks better.
Here’s the link! https://learning-persian.la.utexas.edu/conversations-of-iran-today/function/greetings/