^ No, that won't work for the two heating elements (you've effectively connected them in series).
Coming from the sockets, what you want to do is connect the two black wires together, the two green wires together, and the two white wires together. From each pair, run a single wire to your plug, adding a switch where appropriate.