I have a featured image. I want to add an if statement to the size. For example, if the featured image height exceeds 500px I want to add something.
Is that possible ?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
instead of a lot of code you have 2 ways to achieve your goal
width to your