People opt to have wires from cable boxes or media boxes on the shelf go through the walls via cable holes and be joined to the TV from another hole.  This helps preserve the neat aesthetic of the setup and promotes better wire management.  You can also use cable ties or cable runners to make a neat TV set up.