Created
April 9, 2022 10:06
-
-
Save munirkamal/4df9cf696a8332f3f3d20082318a996c to your computer and use it in GitHub Desktop.
Modify the text of the 'Read more' button in Post Grid Module from Divi Sumo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| var buttons = document.querySelectorAll('.cwp_post_grid .et_pb_button_module_wrapper .et_pb_button'); | |
| buttons.forEach((button) => { | |
| button.innerHTML = "Change Button Text Here"; | |
| return button; | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment