So you want to wire each shelf seperately?
If you want to do that then you need to wire a power strip to the thermostat. Some of them will come pre-wired with an 8 outlet power strip.
If you want them all to run the same temperature you can run them in parallel like that link shows, but this way you will only have one plug.