Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

wp-polls


  #1  
Old Feb 6, 2009, 04:31 PM
mesti
 
8 posts · Feb 2009
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
  #2  
Old Feb 7, 2009, 07:16 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Please try with the "default" theme to see if it's theme related.
  #3  
Old Jun 5, 2009, 02:06 AM
brunomotta
 
1 posts · Jun 2009
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

Last edited by brunomotta; Jun 5, 2009 at 02:07 AM. Reason: add
  #4  
Old Jun 8, 2009, 08:45 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
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 03:55 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.