A trellis is simply a vertical structure ... You don’t have to choose just one option: You can grow multiple things together, like beans and pumpkins. Although some people love them, vines ...
You can also grow pumpkins vertically on a trellis if space is limited, though you may need to support the fruit with netting ...