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)
-   -   How do I add pages to my Atahualpa Left Sidebar? (http://forum.bytesforall.com/showthread.php?t=5885)

Lasareath Feb 15, 2010 07:41 AM

How do I add pages to my Atahualpa Left Sidebar?
 
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

whitie Feb 15, 2010 08:16 AM

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!

Lasareath Feb 15, 2010 09:16 AM

Thanks!!! that was super easy.

now I just need to get rid of the:

Categories
No categories

Archives

Lasareath Feb 15, 2010 09:20 AM

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>

Lasareath Feb 15, 2010 09:29 AM

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

Lasareath Feb 15, 2010 10:29 AM

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

juggledad Feb 15, 2010 11:51 AM

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

Lasareath Feb 15, 2010 09:51 PM

Quote:

Originally Posted by juggledad (Post 25644)
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.

sleenie Feb 26, 2010 10:07 AM

I use the flexipages widget. It's great. Then I use the My Page Order widget. It makes it very simple to use.


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

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