Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

remove / hide archive

Status
Not open for further replies.
So you want to remove the 'Archives March 2009' bit?

This would be a widget in Sidebar Left. First remove this from with the WP widget control panel. There may possibly be a default to show this if nothing else in sidebar.

To hard code out edit this bit within the theme folder:

<div id="rightnav">
<ul id="sidebarleft">
<li id="archives"><h2>Archives</h2> <ul>
<li><a href='http://www.johannesburgflights.co.uk/2009/03/' title='March 2009'>March 2009</a></li>
</ul>
</li>
</ul></div>

Most WP themes have this in sidebar.php or leftsidebar.php

Sean
 
no widgets are showing as being active in either of the sidebars. That was my problem.

this is what is currently showing in sidebar2

<ul id="sidebarleft">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
<?php get_links_list(); ?>
<li id="archives"><?php _e('<h2>Archives</h2>'); ?>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
</li>

<?php endif; ?>
</ul>


How do I amend this??? Cheers for your help ....
 
First
Take a backup copy of sidebar2

Then edit to show this:

<ul id="sidebarleft">

</ul>


This basically removes all functions from this sidebar. I'm not a PHP expert but there would also be a way of editing the 'else' function out as an alternative. Or, you could remove the reference to sidebar2 within the main page or sidebar file. Above should work though.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom