Frequently Asked Questions:
How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page?
Q: How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page?
A: In the Theme Editor, open the file called “topnav.php”. To delete the search bar, look for the following text and delete it. Be careful to delete all of it, but no more.
<form id=”searchform” method=”get” action=”<?php bloginfo(’home’) ?>”>
<div>
<input id=”s” name=”s” type=”text” value=”<?php echo wp_specialchars(stripslashes($_GET[’s’]), true) ?>” size=”9″ tabindex=”1″ />
<input id=”searchsubmit” name=”searchsubmit” type=”submit” value=”<?php _e(’Search’, ‘ProPhoto’) ?>” tabindex=”2″ />
</div>
</form>
</li>
To remove the Blogroll drop-down menu, look for and delete the following line:
<?php wp_list_bookmarks('title_before=<a href="#">&title_after=</a>'); ?>
To remove the Categories drop-down menu, look for and delete the following line:
<?php wp_list_categories('orderby=name&title_li=<a href="#">Categories</a>'); ?>
To remove the Archives drop-down menu, look for and delete the following lines of code. Be careful to delete all of it, but no more.
<ul name=”archive-dropdown” onChange=’document.location.href=this.options[this.selectedIndex].value;’>
<?php wp_get_archives(’type=monthly&show_post_count=0′); ?> </ul>
</li>
To remove the Website link, look for and delete the following line:
<li><a href="http://www.mysweetphotosite.com" target="blank">Website</a></li>
Questions? Instead of emailing for support, leave a comment below so everyone can benefit from any clarification.