Hi, we use the poll or polls function quite a lot and this page has been really helpful.
We use the function with multiple posts in a single post mostly.
When editing we can make a lot of formation both on the posts and also in between the posts.
It looks nice in the editor but after saving it doesn’t work as intended.
If the polls are not directly after one another only the last one will work (No text or formation is allowed in between multiple polls).
If we first create the polls and save it, then edit and add text it works, until we reload the page.
So we guess the function somehow check if there´s another poll directly after and based on that makes the polls.
Is it by any chance an easy fix to allow extra text, pictures, quotes etc both in between polls and also within a single poll, we think of markdown commands etc and also creating tables and functions with additional info on the selected option (sort of read more).
Sure we could perhaps create a single post for each option but for us it would be better if it could be in the same post (triggers emails with info etc.).
Can you share example markdown code for a post containing polls that you are having trouble with? That way we can try to replicate it. As far as I understand it is entirely possible to have multiple polls in one post, with whatever markdown content you want within the post. You just have to be sure to use the poll_name parameter in all the polls:
Exactly, thx for creating the example above.
We also tried to make a nice and easy background by using > blockquote but that doesn´t seem to work either. They both use sort of the same function so perhaps that´s why it doesn´t work?