There are a few different ways to hang string lights on a patio. You can use extension cords or wire hooks to attach the lights directly to the posts, install brackets that hold the light fixtures in place, or buy pre-made lighting kits that include hanging rods and hooks.