You can do this with a css solution. Pages and posts have different body_class
es, so you should be able target them with page
and post
respectively. Your CSS would look something like this:
.post img {
display: none
}
You can do this with a css solution. Pages and posts have different body_class
es, so you should be able target them with page
and post
respectively. Your CSS would look something like this:
.post img {
display: none
}