Tag: wordpress. attachment
How many attachment in a WordPress post has?
There was a case where a client wanted to remove previous and next arrows in attachment images slider. The problem was that she wanted to remove arrows when only one image in WordPress attachment, arrows still showing when there’re more than one images. The solution was to found out how many attachment in a WordPress post.