Hi there. I would like to know how can I eliminate the wp-caption div from some posts, according to an “if” statement. For example, I would like to be able to display the post pictures only for the articles posted in the last week… I used a function that filters the images for older posts, but it only clears the picture and leaves the wp-caption div unaltered. Is there a way to remove it too? 10x.