I would agree it's about attention but also about control. It sounds like she has had a very traumatic experience from what you have said and she is too little to be able to process and deal with it. There are only two things in her life she can control: what she eats and using the toilet... so she is doing the one that gets most attention.
I would not put her back in nappies. I would stop mentioning the toilet at all (I know it's hard but you're the adult and have to just get on with it). Bite your tongue, count to 10, physically leave the room, but do whatever it takes to stop giving her the extra attention she desperately wants then. In the short term there may be more wee on the floor but it's the only thing that's going to work longer term.
I would try to make some times with more focused attention, just for her. Lovebombing is an interesting technique and it's completely unconditional so you can't withdraw it. Ime it does work but is not an overnight fix for a distressed child who craves your attention.
When the wee dance happens you can say once "dd I think you might need a wee". Then that's it. Nothing else. Get on with something else. All this asking every 30 seconds or taking to the toilet is just feeding the attention. Stop it.
Give the attention in other ways. I've mentioned lovebombing already and some other posters have good ideas on this thread: extra story for example.
Do you have any time when it's just the two of you? No younger sibling? If not you need to create some, even if it's just half an hour between bedtimes, and you must be clear this is her time, just for her.
I know it's hard, I've been there but you need to shift your focus and parent your way out of this one. Good luck 