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.

<li class=”topnavright” id=”search”>

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

<li><a href=”#”>Archives</a>

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

23 Responses to “How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page?”

  1. On Lindsey Marie said:

    Hey! I removed my blogroll but now want it back so i can change it to links and connect my webpage and old blog from it! how do I put it back? Thanks so much!

  2. On juliana said:

    How can i put the topnav under the flash animation, like in Katie blog?

    http://www.katiedisimone.com/blog/

  3. On Jared said:

    @juliana: unfortunately, i don’t have a tutorial for this, because it’s too complex and goes beyond basic, supported customizations. you’ll either have to hack your way through, or you can email prophotoinstall at gmail dot com and Matt can give you a price to do it for you.

    sorry!

  4. On Debbie said:

    Jared, I have been trying to email Matt regarding moving the Nav bar and my email keeps getting bounced back from prophotoinstall at gmail dot com. Is there a different way to reach him?

    Debbie

  5. On Jared said:

    @Debbie: that’s odd. try matt at professionalphotographertheme dot com

  6. On Chris Young said:

    Is there a way to add another link at the top of the page for a new page? A link listed at the top and have it be a separate page for a more in depth About Me info and company info?

  7. On Jared said:

    @Chris Young: just create another page, and then link to it by adding some code in your topnav.php file like so:

    <li><a href=”http://www.mysite.com/blog/pathtomypage”>Link text</a></li>

  8. On Amy said:

    I want to delete Blogroll but want to make sure that I can add it back easily if I want to later…

    how can I do that?

  9. On Allison said:

    Hello Jared & Juliana,

    If you guys get a tutorial for moving the links(topnav) bar below the header please let me know…I would love to switch that around…

    Thank you!
    Allison

  10. On Jennifer said:

    Re Chris’ question:

    Sorry if I’m being thick – how do you create another page?

    Cheers
    Jennifer

  11. On Jared said:

    @Jennifer: in your WP admin area, go to “Write” => “Page”.

  12. On Meghan said:

    Hey, I just did the same thing and you have to eliminate everything but the page address in the code. Instead of “http://www.megfotojournal.com/contact”

    I just put and now it works!
    Hope that helps :)
    Meghan

  13. On Leesia said:

    Hopefully I’m posting this in the right section…I’ve added a ‘home’ link to my topnav area so it’s easy to get back to the blog home, but when you click on it the blog homepage always comes up as a pop-up in a new window. How can I tell it I want the ‘home’ to open in the current window?

    Thanks!!
    Leesia

  14. On Jared said:

    @Leesia: remove the phrase:

    target=”blank”

    from the code for your home page link and that won’t happen

  15. On Leesia said:

    Thanks Jared!!

  16. On Jeff said:

    Hey, I was wondering if anyone knows how to add a “subscribe rss” icon to the the top nav bar.

  17. On Jared said:

    @Jeff: it’s not really a built in feature of this version of the blog theme, so you’d have to custom code it.

  18. On Brianna Lee said:

    photoblogs are cool and i maintain at least two of them’,,

  19. On SEO Freelancer said:

    Hey Gabriela,You got me:)I will thing about it!

  20. On freelancer online said:

    freelancer online…

    [...]» How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page? Jared’s ProPhoto Tips[...]…

  21. On Dú Vidros | Sete Lagoas e Região said:

    Dú Vidros | Sete Lagoas e Região…

    [...]» How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page? Jared’s ProPhoto Tips[...]…

  22. On Freestyle lite test strips said:

    Freestyle lite test strips…

    [...]» How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page? Jared’s ProPhoto Tips[...]…

  23. On Work as freelance designer said:

    Work as freelance designer…

    [...]» How can I remove the search box or “Blogroll” or “Categories” or “Archives” or “Website” link at the top of the page? Jared’s ProPhoto Tips[...]…

Leave a Reply