WPIntell

Source evidence

Only one single Vote?

Pollify – Feedback Polls, Anonymous Polls, Up/down Voting, NPS Surveys, Export data · support · 2025-11-14T09:14:00+00:00

complaintsentiment
mediumseverity
0.74relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 25 rows with source links

24.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
jansass GmbH unresolved
Inserting a Vote (thumbs up/down) is for all pages, so users cant vote for a single page/post. I can insert it on three pages, giving it three different headlines (so i can identify them in backend), but the last one is valid only. One ounter/vote for three different pages – is that intended? Hi @mcian , Could you please clarify more about your scenario. We didn’t get your point. If I am not wrong, You created Up/Down vote as a pattern and that pattern you used on 3 pages, But when user do vote in all pages, its count only one vote for last page? Am I right ? Thanks Hey, i think i found it: when adding “Vote” to a page manually, it works (each page has its own vote counter). When adding it by an unsynced reuasable, it does not work (each page has the SAME counter). Thats because you encode it using “pollClientId”:”896c7de4-ff68-4a6c-9806-… Is that the same for all other functions as well? Cant i use them as non-synced reusables? Marc Hi @mcian , This is actually a default block behaviour. The unsynced patterns just keep the reference on the editor. So it’s hard to track the poll ID and render the polls. So when you use it as a pattern, it will work only for one poll for all pages. Not each page has with different poll. For using a different poll for a different page, you need to add that poll separately Thanks @wprigel Actually, this is not correct. Correct is that synced (!) patterns should use the same ID, unsynced should create NEW ID upon insertion, else they would refer to the original (synced). So your plugin need to hook to insertBlocks() https://developer.wordpress.org/block-editor/reference-guides/data/data-core-block-editor/

Comments

4 shown
wpRigel 2025-11-15T09:50:00+00:00

Hi @mcian , Could you please clarify more about your scenario. We didn’t get your point. If I am not wrong, You created Up/Down vote as a pattern and that pattern you used on 3 pages, But when user do vote in all pages, its count only one vote for last page? Am I right ? Thanks

jansass GmbH 2025-11-17T08:28:00+00:00

Hey, i think i found it: when adding “Vote” to a page manually, it works (each page has its own vote counter). When adding it by an unsynced reuasable, it does not work (each page has the SAME counter). Thats because you encode it using “pollClientId”:”896c7de4-ff68-4a6c-9806-… Is that the same for all other functions as well? Cant i use them as non-synced reusables? Marc

wpRigel 2025-11-27T14:02:00+00:00

Hi @mcian , This is actually a default block behaviour. The unsynced patterns just keep the reference on the editor. So it’s hard to track the poll ID and render the polls. So when you use it as a pattern, it will work only for one poll for all pages. Not each page has with different poll. For using a different poll for a different page, you need to add that poll separately Thanks

jansass GmbH 2025-12-15T09:07:00+00:00

@wprigel Actually, this is not correct. Correct is that synced (!) patterns should use the same ID, unsynced should create NEW ID upon insertion, else they would refer to the original (synced). So your plugin need to hook to insertBlocks() https://developer.wordpress.org/block-editor/reference-guides/data/data-core-block-editor/