function use and random ?
-
Hi ! Nice plugin I recommand !
Just a small question, I want to dynamically display my polls, on some pages, so I tried to get the poll ID ($val is a metabox of the parent page. $val does return number 2, and my poll is displayed.
<li><?php democracy_poll( '<?php echo $val; ?>' ); ?></li>
However, since I create a second poll, my polls are displayed randomly on my pages, despite of the poll ID ($val) is specified … Maybe something related to the democracy_poll function ?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘function use and random ?’ is closed to new replies.