pawsingleton
Member
Posted 3 years ago #
My site url is http://www.pawupclose.net
Just now learning this php stuff, most familiar with html. On my side bar, I see duplicate "tag" categories, along with duplicate "blogroll."
hmmmm. don't know why. I'd like to be able rearrange the side bar content but am clueless of how to do such a thing.
All your input is greatly appreciated!
You're Awesome
-Tiger
Assuming you are not talking about Widgets that can be moved up or down with a drag and drop process...
As an example the WordPress Default theme has a sidebar controlled by the wp-content/themes/default/sidebar.php. So if you don't want categories displayed you would delete the code that displays categories (<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>).
Related:
Stepping Into Template Tags
Stepping Into Templates
Template Hierarchy
WordPress Semantics
pawsingleton
Member
Posted 3 years ago #
Wow. Can't believe the response time! Thanks so much, I'll try that out.
Namaste.
pawsingleton
Member
Posted 3 years ago #
This is what I have for the sidebar php.
<div id="sidebar">
<?php /* Widgetized sidebar, if you have the plugin installed. */
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>
<!-- Author information is disabled per default. Uncomment and fill in your details if you want to use it.
- <h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
-->
<li class="widget_categories">
<h2>Category</h2>
<?php wp_list_cats('sort_column=name&optioncount=1'); ?>
<li class="widget_archives"><h2>Archives</h2>
<?php wp_get_archives('type=monthly'); ?>
<?php endif; ?>
___
This code isn't really explaining to me why I would have two sets of "tags" and "blogroll"
Any ideas?
pawsingleton
Member
Posted 3 years ago #
I found a different side bar php, (it was labeled sidebar_right.php) This helped a little. Still confused as to why I have two (Tags Clouds)
Also, how can I move these things around, when looking at the sidebar php, they are not listed in the order they appear on the page.
Thanks,
-tiger
pawsingleton
Member
Posted 3 years ago #
wow... Guess if I just looked around long enough I would have found what I just found. Easy fix in the widget category