jonatascd
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Hi!
here is the solution I’ve got:
<?php global $wpdb; $rez = $wpdb->get_results("SELECT pollq_id FROM $wpdb->pollsq ORDER BY pollq_id DESC"); foreach($rez as $poll) { get_poll($poll->pollq_id); echo "<br /><br /><hr />"; } ?>cheers!
Forum: Plugins
In reply to: [WP-Polls] [Plugin: WP-Polls] link View Results doesnt workI kind of solved.
I’ve added manually thsi lines:
<script type='text/javascript'> /* <![CDATA[ */ var pollsL10n = { ajax_url: "http://path/to/plugins/wp-polls/wp-polls.php", text_wait: "Sua última requisição está sendo processada. Por favor, espere um momento...", text_valid: "Por favor, escolha uma resposta válida para enquete.", text_multiple: "Número de escolhas permitidas:", show_loading: "0", show_fading: "0" }; /* ]]> */ </script> <script type='text/javascript' src='http://path/to/plugins/wp-polls/polls-js.js?ver=2.50'></script>It should be loaded auto. Still don’t know why it didn’t load in this specific page.
cheers
Forum: Plugins
In reply to: [WP-Polls] [Plugin: WP-Polls] Hide View ResultsHi
here there’s a possible solution:
http://wordpress.org/support/topic/plugin-wp-polls-how-to-hide-view-results-link-before-voting😉
Viewing 3 replies - 1 through 3 (of 3 total)