• Resolved rainer23

    (@rainer23)


    I have no widget activated which says to display my recent posts. Only the recent comments widget, search and blogroll is there.
    Still, in the sidebar my recent posts are listed. Where to make this disappear? Thanks for any help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • look into sidebar.php and see if it is hard-coded in there.

    mentioning your theme and the link to your site could help with helping.

    Thread Starter rainer23

    (@rainer23)

    Thank, looks like you’re right! There is a recent entries mentioned there. Do I have to remove the whole thing I highlighted? Thanks!

    <?php global $vigilance; ?>
    <div id=”sidebar”>
    <?php if ($vigilance->sideimgState() == ‘hide’) : else : ?>
    <?php if (is_file(STYLESHEETPATH . ‘/sidebar-imagebox.php’)) include(STYLESHEETPATH . ‘/sidebar-imagebox.php’); else include(TEMPLATEPATH . ‘/sidebar-imagebox.php’); ?>
    <?php endif; ?>
    <?php if ($vigilance->feedState() == ‘disabled’) : else : ?>
    <?php if (is_file(STYLESHEETPATH . ‘/sidebar-feedbox.php’)) include(STYLESHEETPATH . ‘/sidebar-feedbox.php’); else include(TEMPLATEPATH . ‘/sidebar-feedbox.php’); ?>
    <?php endif; ?>

      <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘wide_sidebar’) ) : ?>
      <li class=”widget widget_recent_entries”>
      <h2 class=”widgettitle”><?php __(‘Recent Articles’ , ‘vigilance’); ?></h2>
      <?php $side_posts = get_posts(‘numberposts=10’); foreach($side_posts as $post) : ?>

    <?php endif; ?>

    <?php if (is_active_sidebar(‘left_sidebar’)) echo ‘<ul class=”thin-sidebar spad”>’;?>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘left_sidebar’) ) : endif; ?>
    <?php if (is_active_sidebar(‘left_sidebar’)) echo ”; ?>
    <?php if (is_active_sidebar(‘right_sidebar’)) echo ‘<ul class=”thin-sidebar”>’; ?>
    <?php if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘right_sidebar’) ) : endif; ?>
    <?php if (is_active_sidebar(‘right_sidebar’)) echo ” ;?>
    </div><!–end sidebar–>

    probably even easier:
    this ‘recent post’ is part of the ‘default’ of a dynamic sidebar;
    in your admin – appearance – widgets: see if there is a space for ‘wide_sidebar’:
    if yes, just drag an empty textwidget into it, go back to your site, and see if it made the ‘recent posts’ dissapear in the sidebar.

    if not, you can still delete the following section (it is a bit distorted because you posted the code without using the ‘code’ button above this editor):

    <li class="widget widget_recent_entries">
    <h2 class="widgettitle"><?php __('Recent Articles' , 'vigilance'); ?></h2>
    
    <?php $side_posts = get_posts('numberposts=10'); foreach($side_posts as $post) : ?>
    
    "><?php the_title(); ?>
    <?php endforeach; ?>

    Thread Starter rainer23

    (@rainer23)

    Thanks, empty text widget in the wide bar worked!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar, Widgets Managemet’ is closed to new replies.