Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] No sidebar.php...where do I put the code? (http://forum.bytesforall.com/showthread.php?t=1087)

d_random Apr 3, 2009 12:42 PM

[SOLVED] No sidebar.php...where do I put the code?
 
Hi-
I want to add a poll to the right sidebar.
The instructions say to add the below code to wp-content/themes/<YOUR THEME NAME>/sidebar.php
There is no sidebar.php, where do I put it?

Thanks for your time! :)

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; ?>



All times are GMT -6. The time now is 06:02 AM.

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