The following snippet of code will check to see if your post or custom post type has any attachments and then allows you to use an if else statement. You can change the number of attachments to check for, so if you wanted to check if there is more than one attachment while not counting […]
The post Check if the Post has Certain Number of Image Attachments appeared first on SIMPLESNIPS.COM.