It sounds like you took liberties with a cake recipe - and it was a flop. Without knowing what the original recipe called for, and what you actually used, it's kind of hard to explain why it was a flop.
One thing - ww flour is not normally used for cakes due to the higher protein content ... cake flour may have worked - but, again, don't know the rest of the recipe.
FWIW: Even if you had followed a published recipe exactly - not all recipes actually work.
"It ain't what you don't know that gets you in trouble. It's what you know for sure that just ain't so." - Mark Twain