What if I’m just trying to fire script on all posts. Not pages, just blog posts.
This doesn’t seem to do the trick…?
'post_type_archive_post': {
init: function() {
// JavaScript to be fired on all Posts
}
}
What if I’m just trying to fire script on all posts. Not pages, just blog posts.
This doesn’t seem to do the trick…?
'post_type_archive_post': {
init: function() {
// JavaScript to be fired on all Posts
}
}
Did you check to see what the classes are on the body tag? That should give you some ideas