WordPress.org

Forums

[resolved] aghhh! I deleted the search box from header and lost my top bar nav links (3 posts)

  1. SRCreative
    Member
    Posted 3 years ago #

    Hi,
    I wanted to remove the search box from the header in the Creativix theme. I followed advice on a thread on the forum to remove the code below but it removed my page links too! The code below wasn't identical to the code I deleted so I can't paste it back in! Where will I find the original header.php code for the Creativix theme because it was from the parent theme that I deleted it, now I can't get it back!! Help!!!

    <div id="search2">
    <form method="get" id="searchform2" action="<?php bloginfo('home'); ?>/">
    <div><input class="searchinput" type="text" onfocus="doClear(this)" value="<?php _e('Search'); ?>" name="s" id="s" />
    <input type="submit" id="searchsubmit2" class="search_button" value="Search" />
    </div>
    </form>
    </div>

  2. KristinCodesWP
    Member
    Posted 3 years ago #

    Just download the theme you deleted (search Google for the theme name) and pull the code from the header.php file of what you download.

  3. SRCreative
    Member
    Posted 3 years ago #

    thanks! works fine.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.