Ikea’s HULTARP rods and hooks can let you store things outside of the kitchen too.
I came up with this solution to stick long, but flat and lightweight, items on the wall in a bathroom.
Edit: note that Ikea has two sizes of HULTRAP hooks, so you might want to get a pack of each while figuring out what works best for your items.
While I have the bar mounted below the shelf in the wall, it could also work to mount the bars directly too the shelf.
Oh yes, that’s what I mean, a bar below each shelf in a closet or pantry. Would allow you to put things on the “wall” as well as the shelves