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 »

How do I add pages to my Atahualpa Left Sidebar?


  #1  
Old Feb 15, 2010, 08:41 AM
Lasareath
 
7 posts · Feb 2010
Hello,

Is it possible to add the top pages to my left sidebar using Atahualpa

If it's here already i'm sorry I cannot find it.

Thanks,

Lasareath
  #2  
Old Feb 15, 2010, 09:16 AM
whitie
 
5 posts · Feb 2010
Hey Lasareath, I was looking at doing something like that just earlier today. I found this page particularily helpful:

http://green-beast.com/blog/?p=157

You would put a slightly varied version of that html/php code (no need for the rss stuff perhaps etc) in header.php just before here:

Code:
</td>
<!-- / Left Sidebar -->
just after

Code:
<?php endif; ?>
And then put the css stuff in ATO -> Add HTML/CSS Inserts -> CSS Inserts.

Hope that helps!
  #3  
Old Feb 15, 2010, 10:16 AM
Lasareath
 
7 posts · Feb 2010
Thanks!!! that was super easy.

now I just need to get rid of the:

Categories
No categories

Archives
  #4  
Old Feb 15, 2010, 10:20 AM
Lasareath
 
7 posts · Feb 2010
I got rid of those titles by removing this code:


<div class="widget widget_categories"><div class="widget-title">
<h3><?php _e('Categories','atahualpa'); ?></h3>
</div>
<ul><?php wp_list_categories('show_count=1&title_li='); ?></ul>
</div>


<div class="widget widget_archive"><div class="widget-title">
<h3><?php _e('Archives','atahualpa'); ?></h3>
</div>
<ul><?php wp_get_archives('type=monthly'); ?></ul>
</div>
  #5  
Old Feb 15, 2010, 10:29 AM
Lasareath
 
7 posts · Feb 2010
I got the code down to this and it works

<ul id="nav">
<?php if(is_home() && !is_paged()){ ?>
<li class="current_page_item">
</li>
<?php } else { ?>
<?php } ?>
<?php wp_list_pages('sort_column=menu_order&title_li='); ?>
</ul>


But it comes up with bullets, I wish I can get rid of the bullets and make the text left justified

Last edited by Lasareath; Feb 15, 2010 at 10:41 AM.
  #6  
Old Feb 15, 2010, 11:29 AM
Lasareath
 
7 posts · Feb 2010
I found this and it seems to be the correct thing but i don't know how to make it work

http://faq.wordpress.net/view.php?p=35
  #7  
Old Feb 15, 2010, 12:51 PM
juggledad's Avatar
juggledad
 
23,569 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
the Category and Archives are part of the default widgets that WordPress adds if you don't have any widgets. The easiest way to get rid of them is to add a text widget but don't put anything in it.

did you ever think of just adding the 'Pages' widget to the sidebar instead of changing the code? If you don't like th e standard one, just do a google search for 'wordpress pages plugins' and you should find some with more controls.

This way you won't have changed the code so you won't have to document what you did and have to redo it when you upgrade the theme in the future. (you did plan on documenting the changes to the code...right?)
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #8  
Old Feb 15, 2010, 10:51 PM
Lasareath
 
7 posts · Feb 2010
Quote:
Originally Posted by juggledad
the Category and Archives are part of the default widgets that WordPress adds if you don't have any widgets. The easiest way to get rid of them is to add a text widget but don't put anything in it.

did you ever think of just adding the 'Pages' widget to the sidebar instead of changing the code? If you don't like th e standard one, just do a google search for 'wordpress pages plugins' and you should find some with more controls.

This way you won't have changed the code so you won't have to document what you did and have to redo it when you upgrade the theme in the future. (you did plan on documenting the changes to the code...right?)

Thanks, I will do a search for 'wordpress pages plugins'

And Yes, I saved text files of everything I changed for the future.
  #9  
Old Feb 26, 2010, 11:07 AM
sleenie
 
291 posts · May 2009
Texas and New Mexico
Send a message via Skype™ to sleenie
I use the flexipages widget. It's great. Then I use the My Page Order widget. It makes it very simple to use.

Bookmarks

Tags
atahualpa, pages, sidebar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't add a text widget to left sidebar sirabi Sidebars & Widgets 3 Jan 11, 2010 06:26 AM
[SOLVED] How do I add an image to the left sidebar? Matthew Krichbaum Sidebars & Widgets 15 Oct 16, 2009 12:52 PM
Using 3.4.1 ... can have Pages in left sidebar, or Recent Posts in right, but not bot AddApt Sidebars & Widgets 1 Sep 2, 2009 04:52 AM
[SOLVED] Removing Children Pages from Left Sidebar minicuci Sidebars & Widgets 2 Aug 26, 2009 08:43 PM
[SOLVED] left sidebar issue with pages ldsmedia Page & Category Menu Bars 9 Jun 2, 2009 04:21 PM


All times are GMT -6. The time now is 03:59 AM.


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