wp-polls
Hi, I´ve downloaded wp-polls plugin, but I have a problem..
when I want to add it to my sidebar as a widget it doesn't appear at "widget list" how can i fix it? thanks |
Please try with the "default" theme to see if it's theme related.
|
Hi.
I have installed wp-polls too. I am using Atahualpa 3.33 with WP 2.7. Installation is ok. The Polls widget is correctly displayed in the "right sidebar" list under Admin-Widgets menu. But no polls appears on the right sidebar, although i have inserted the code <?php if (function_exists('vote_poll') && !in_pollarchive()): ?> <li> <h2>Polls</h2> <ul> <li><?php get_poll();?></li> </ul> <?php display_polls_archive_link(); ?> </li> <?php endif; ?> into the footer.php file here: <!-- Right Sidebar --> <td id="right"> <?php // Widgetize the Right Sidebar if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?> <?php if (function_exists('vote_poll') && !in_pollarchive()): ?> <li> <h2>Polls</h2> <ul> <li><?php get_poll();?></li> </ul> <?php display_polls_archive_link(); ?> </li> <?php endif; ?> <?php endif; ?> </td> <!-- / Right Sidebar --> Can you explain whai i am doin' wrong? Sorry but i am quite new in WP and in Atahualpa... Staging website is http://www.bmotta.net/cartalibera Thanks Bruno |
The place where you put the code is only displayed if there are no widgets in the right sidebar. Either put your code above
<?php // Widgetize the Right Sidebar or below <?php endif; ?> or put your code into a PHP widget http://wordpress.org/extend/plugins/php-code-widget/ instead of hardcoding it into footer.php |
All times are GMT -6. The time now is 10:05 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.