Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] how to remove blogroll & meta from right sidebar in 3.3.3?

Old May 8, 2009, 06:35 PM
2 posts · May 2009
How do I how to remove blogroll & meta from right sidebar in 3.3.3?

I have 0 widgets showing so why is anything displayed in my sidebar?

Where is the code contained that displays the blogroll and meta (filename, line number)?

Old May 8, 2009, 08:15 PM
Flynn's Avatar
3,768 posts · Oct 2008
Munich, Germany
The only reason to remove that manually would be if you want an existing but blank sidebar. As soon as you put your first widget into a sidebar, the default content will be gone. To remove it manually delete the red parts, in header.php

<?php // Widgetize the Left Sidebar
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(1) ) : ?>

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

<div class="widget widget_archive"><div class="widget-title">
<h3><?php _e('Archives','atahualpa'); ?></h3>
</div><div class="widget-content">
<?php wp_get_archives('type=monthly'); ?>

<?php endif; ?>

and in footer.php

<?php // Widgetize the Right Sidebar
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar(2) ) : ?>

<div class="widget"><div class="widget-title">
<h3>Recent Posts</h3></div><div class="widget-content">
<?php $r = new WP_Query(array(
'showposts' => 20,
// 'cat__in'=>array(14),
'what_to_show' => 'posts',
'nopaging' => 0,
'post_status' => 'publish',
'caller_get_posts' => 1));
if ($r->have_posts()) : ?>
<?php while ($r->have_posts()) : $r->the_post(); ?>
<li><a href="<?php the_permalink() ?>"><?php if ( get_the_title() ) the_title(); else the_ID(); ?> </a></li>
<?php endwhile; ?>
<?php wp_reset_query(); // Restore global post data stomped by the_post().
endif; ?>

<div class="widget"><div class="widget-title">
<?php wp_list_bookmarks('category_before=&category_after =&title_before=<h3>&title_after=</h3></div><div class="widget-content">'); ?>

<div class="widget"><div class="widget-title">
<h3><?php _e('Meta','atahualpa'); ?></h3>
</div><div class="widget-content">
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
<li><a href="http://wordpress.org/" title="
<?php _e('Powered by WordPress, state-of-the-art semantic personal publishing platform.','atahualpa'); ?>">
<?php _e('WordPress','atahualpa'); ?></a></li>
<?php wp_meta(); ?>

<?php endif; ?>
Old Oct 7, 2009, 11:34 AM
19 posts · Oct 2009
After reading your comment, the answer is so obvious. Still, it never occurred to me.

Looks like we all go schooled.

Truly, code-poetry. It says much, even when it says nothing.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page Menu drop down modification - remove arrows & extra space dorigen Page & Category Menu Bars 31 Aug 16, 2014 11:10 AM
Adding sidebar links outside of the blogroll (with formatting matching the sidebar) Flur Sidebars & Widgets 8 Jul 21, 2009 10:50 AM
Right Sidebar hogs meta widget and NextGEN slideshow widget softroy Sidebars & Widgets 3 Jun 13, 2009 02:20 AM
How do I remove the META widget dododi Sidebars & Widgets 6 Jun 5, 2009 03:40 AM
[SOLVED] Blogroll links not appearing in sidebar artoftroy Sidebars & Widgets 2 Jan 13, 2009 10:33 AM

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

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