Created
April 24, 2020 20:32
-
-
Save vfontjr/988b672bcac2b633c0dc8fdb20dbab8c to your computer and use it in GitHub Desktop.
Source code for https://victorfont.com/addclass-genesis-featured-post-image/
This file contains 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> | |
jQuery(document).ready( function($) { | |
"use strict"; | |
$("[id^='featured-post-']").find('img').addClass('my-awesome-class'); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment