I prefer to use fully synthetic motor oil 5w-30 or winter grade 0w-20 to unstuck metal parts.
It's nearly as penetrating as WD40 but far superior lubricant than WD40. You can probably make the synthetic oil even thinner by mixing it with mineral spirits to improve penetration and leave it overnight. WD40 will gel and become like a glue if you leave it for a long time that's why I never use WD40 anymore. So if you've used WD40, you'll probably need to use it again soon. It's like a bad drug giving you withdrawal and makes you want more.
If you have fully synthetic motor oil at hand, remove the seatpost clamp from the frame and apply the motor oil to the seat post. Leave it for several minutes and try to remove the stuck seatpost again. If it still won't budge then head over to the web and google the stuff.
Do note, a badly stuck seat post is likely to be bent so you might end up replacing the seatpost. Never ride with a bent aluminum seatpost even just a very slightly bent seatpost, it will snap eventually, ouch! So I suggest you "eyeball" the seat post at one end if you managed to remove it and see if it's even very sligthly bent, you should replace it asap.
Worst case scenario removal for me is to use a big, long monkey wrench to try to twist the seatpost off. This undoubtedly score and damage the seatpost, rendering it dangerous to use and needs to be replaced asap. But head over to the web first and see if others have better technique that won't damage the seatpost.