This Solar Fence Post Cap comes with two tiny screws to be used in the mini hole on the sides.  The fence post would have to fit perfectly for attachment.  It also appears like plastic and is plastic.