Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

wp-polls


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Feb 6, 2009, 04:31 PM
mesti
 
8 posts · Feb 2009
wp-polls

Hi, Ive 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,765 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,765 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 01:02 AM.


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