Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. Share your own thoughts and experience, accounts may be terminated for violations.
  • Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

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.
Top Bottom