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 » Sidebars & Widgets »

[SOLVED] Where in Atahualpa is the code normally found in sidebar.php??


  #1  
Old Aug 7, 2009, 06:13 PM
lhanft
 
88 posts · Jul 2009
Cleveland, OH
Several times now, I've found what I think is the perfect plug-in, but find I can't figure out how to use it because the instructions give me php code to be inserted into sidebar.php.

I know that part of the genius of Atahualpa is the atomization (for lack of a better word) of php functions so that they can be controlled in the Theme Options.

But in the absence of sidebar.php, there surely must be an appropriate php file into which I can insert plug-in code? I've not been able to figure this out on my own.

For example: On my neverending quest to find vertical navigation, I tried using Wordpress Menu Manager, a plug-in that lets you build a nav menu anyway you want (i.e. not relying on pages_list), and then to style it any way you want to (I found the css for some vertical navs I liked).

All went well until I got to the very end of the directions for the plug-in:

Quote:
To display a menu simply paste in the template tag with the appropriate menu ID number into your theme such as in the sidebar.php or maybe even the header.php where you want the menu to render as follows: <?php displayMenu(1, 3); ?>
And I'm stumped, because I don't know much about php, and after scanning index.php and functions.php and a bunch of other Atahualpa files, I can't figure out the right place to put this.

Is the problem that the functions normally found in sidebar.php have been redistributed other places, so that the answer to the questions "Where should I put this code?" depends upon what the code does? Does the answer also change according to the version of Atahualpa?

(I'm using 3.4.2 with WP2.8.3, btw. My site is http://theagnonschool.org)

In my search for solutions in this forum, I found several other threads that boiled down to this same question (Where is php sidebar coding?, Easy PHP Calendar Integration,
CYC plugin, Putting Code/Sign Up Form into Sidebar help, Where is text that normally appears in sidebar.php?, Where is the sidebar.php for this theme?, I'm not sure what file I need add code for the sidebar, etc.
  #2  
Old Aug 9, 2009, 02:57 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The left sidebar(s) are in header.php, the right sidebar(s) are in footer.php

header.php: <head>..</head> section and left sidebars
index.php: center column
footer.php: right sidebars and footer
  #3  
Old Aug 9, 2009, 06:10 PM
lhanft
 
88 posts · Jul 2009
Cleveland, OH
Oh. Well that's simple enough. Thanks.

Bookmarks

Tags
php, plugins, sidebar, sidebar.php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which php file should I Edit to Insert Opt In form in SideBar for Atahualpa Theme? kacang Sidebars & Widgets 0 Aug 1, 2009 04:41 AM
[SOLVED] PHP code widget destroyed my site! paulae Sidebars & Widgets 0 Jul 13, 2009 07:07 AM
[SOLVED] No sidebar.php...where do I put the code? d_random Atahualpa 3 Wordpress theme 0 Apr 3, 2009 01:42 PM
Location for php code for SOCIABLE widget? strangelove Post-Kicker, -Byline & -Footer 1 Feb 18, 2009 07:04 PM
TarheelRambler found the reason for the mysterious errors - Atahualpa 3.1 coming SOON Flynn Post-Kicker, -Byline & -Footer 0 Dec 14, 2008 03:30 PM


All times are GMT -6. The time now is 04:25 PM.


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