This cup is glued to a terra cotta plant saucer. Water in the saucer keeps the ants out.
Duct tape around the rim gives the bird a perch allowing it to go vertical to get to the jelly.
The cup is deep enough to keep the house finches out.
Bullock's Orioles are also common here and use the feeder.