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 »

[SOLVED] No sidebar.php...where do I put the code?


 
Prev Previous Post   Next Post Next
  #1  
Old Apr 3, 2009, 01:42 PM
d_random
 
51 posts · Apr 2009
Help [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; ?>
 

Bookmarks

Tags
plugin, poll, sidebar.php



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I put tracking code into Atahualpa? crowdedmouse Atahualpa 3 Wordpress theme 4 Dec 20, 2009 01:13 AM
[SOLVED] PHP code widget destroyed my site! paulae Sidebars & Widgets 0 Jul 13, 2009 07:07 AM
[SOLVED] messed up header.php and footer.php monochrome Header configuration & styling 0 Jun 20, 2009 03:16 PM
How to use <?php... ?> code in "Post Info Items" sections? TotalBalance Post-Kicker, -Byline & -Footer 0 Mar 14, 2009 04:01 PM
Location for php code for SOCIABLE widget? strangelove Post-Kicker, -Byline & -Footer 1 Feb 18, 2009 07:04 PM


All times are GMT -6. The time now is 11:58 PM.


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