CHANGING THE MOBILEPRESS DEFAULT SEARCH BOX TO GOOGLE SEARCH BOX

Share

Ok! Since you have put your blog in place, now is the perfect time to monetize it. Many people today who surf the web use mobile phone, so while waist the opportunity?

On our today issue, we are going to know how to replace our mobilepress default search box with our Google search box. So how do we achieve this? If you have been following my post, you would have known by now how to call a php extension to where you want it. But for does who don’t know follow this simple steps.

In this case, let’s assume that we have already generated our Google search code. See screen shotgoogle adsense search codeNow copy the first code. We are going to create a .php script using our notepad

Paste the first code you copied to the notepad and save it as “google_search.php” or whatever name that suit you.

Save it to your main directory (root folder)…

Locate your mobilepress theme by going to Public_html/wp-content/plugins/mobilepress/system/ theme/ default/

Are you there?

Now open “footer.php” with your c-panel editor.

Locate the below codes and delete them

<input type="text" size="14" value="<?php the_search_query(); ?>" name="s" id="s" />

<input type="submit" id="searchsubmit" value="Search" />

Have you deleted the above codes? Now we are going to call the script we just created.

In between

<fieldset>

</fieldset>

Place the below code

<?php include(‘google_search.php’); ?></div>

So it will look like this

<fieldset>

<?php include(‘google_search.php’); ?></div>

</fieldset>

Save and refresh your mobile page. Now you have successfully put Google search to your mobilepress blog.

In case you have not read how to create custom menu to your mobilepress, how to put logo in your mobilepress and how to make your comment box appear in your mobilepress default page can still do.

Do yo have any question concerning this topic? you can comment if this post is of help to you.

If you like this most kindly click the like button and recommend us…

AA777SDH7AK2

Don't Miss Any Post Again. Subscribe To Our Feed And Be Updated

Enter your email address below:

 

Powered by OnenaijaBlog

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge