WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] view source shows it - but I can't find the file (6 posts)

  1. unarmedgunman
    Member
    Posted 6 years ago #

    I am using the mosaik-10 theme and I am trying to replace the standard search bar in the upper right with Google search. However, I can not find the code to edit. I've looked in header, sidebar, index and everything in between, but can't find it. The worst part is when I "view source" in the browser I see the code I need to change:

    <td id="right" valign="top">
    			<div id="right_header">
    				<div id="right_search">
    					<table cellpadding="0" cellspacing="1">
    					<form method="get" action="http://seefunnyvideos.com/">
    						<tr>
    							<td><input type="image" src="http://seefunnyvideos.com/wp-content/themes/mosaik-10/images/go.png" class="sub" /></td>
    						</tr>
    					</form>
    					</table>
    				</div>
    				<div id="right_pad">

    But I can't find it anywhere, and the next line of code showing in "view source" is actually the first line of code in the sidebar.php file. Any help would be greatly appreciated. Thanks.

  2. MichaelH
    Member
    Posted 6 years ago #

    Looks like searchform.php is included in index.php for that theme.

  3. unarmedgunman
    Member
    Posted 6 years ago #

    No - that doesn't help.

  4. whooami
    Member
    Posted 6 years ago #

    its inside footer.php

    the logical place to put something thats at the top of the page, don't you think? :P

    maybe those affiliate links at the bottom are coded into header.php

  5. unarmedgunman
    Member
    Posted 6 years ago #

    Thanks a million

  6. unarmedgunman
    Member
    Posted 6 years ago #

    Well - that was what I was looking for, but I still can't get the Google Search to move into the upper right corner without breaking the layout. Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags