So, let’s get started!
The .each() importance
If you wondered why we used .each() method in place of simply append our button to every ‘.jQ_label’ text module here you can see the real necessity of the .each(): in fact, we need to grab the text value of every specific text module and in order to do it we have to use ‘this’ keyword!
It’s a simple jQuery trick but it is strengthened in Divi and in your Divi blogging workflow. Hope it can be useful, let us know what you think in the comments below.
See you next post!