Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

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


  #1  
Old Apr 3, 2009, 12:42 PM
d_random
 
51 posts · Apr 2009
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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 12:13 AM
[SOLVED] PHP code widget destroyed my site! paulae Sidebars & Widgets 0 Jul 13, 2009 06:07 AM
[SOLVED] messed up header.php and footer.php monochrome Header configuration & styling 0 Jun 20, 2009 02:16 PM
How to use <?php... ?> code in "Post Info Items" sections? TotalBalance Post-Kicker, -Byline & -Footer 0 Mar 14, 2009 03:01 PM
Location for php code for SOCIABLE widget? strangelove Post-Kicker, -Byline & -Footer 1 Feb 18, 2009 06:04 PM


All times are GMT -6. The time now is 05:38 PM.


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