Onenaija Blog

The People's Blog

  • Home
  • Blogging
    • Blogger
    • WordPress
    • Google Adsense
    • Video
  • Computer/Internet
    • Tips & Tricks
    • Mobile Tips/ Tricks
    • Pc Tips/ Tricks
  • Tech
    • Android
    • Facebook
    • Youtube
    • Reviews
  • Others
    • Making Money Online
    • Entertainment
    • Forum
  • About Me
    • Contact Me
  • Hire Me
  • Advertise With Us
  • Guest Post
Home » Blogging » Wordpress » CHANGING THE MOBILEPRESS DEFAULT SEARCH BOX TO GOOGLE SEARCH BOX

CHANGING THE MOBILEPRESS DEFAULT SEARCH BOX TO GOOGLE SEARCH BOX

September 1, 2012 By: babanature4 Comments

Facebook
Twitter
Pinterest
Linkedin
Bufferapp

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

Facebook
Twitter
Pinterest
Linkedin
Bufferapp

About babanature

I am a researcher and internet consultant. I love designing web sites, building blogs, doing tutorials, playing with codes, watching cartoons, writing articles, blogging, singing and lots more...
You can always hook me up on Facebook, twitter, YouTube and Google+

Comments

  1. otobong says

    November 6, 2012 at 10:16 am

    Nice one bro. Well done, am using it now on my blog

    Reply
    • babanature says

      November 6, 2012 at 11:55 am

      good to hear otobong

      Reply
      • otobong says

        December 28, 2012 at 2:27 am

        How do I add Facebook comment form to it, full page? Tanks

        Reply
        • babanature says

          December 28, 2012 at 6:28 am

          a facebook comment form on a mobilepress? it will only make it look ugly…

          Reply

Leave a Reply Cancel reply

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

CommentLuv badgeShow more posts

Search The Blog

DO YOU WANT TO PROMOTE YOUR PRODUCT?

Do you have a product that you would like us to review here at onenaijablog? If you already have a post written for your product, would you like us to publish it to our unique blog readers? Then take the advantage of our low cost plan by . Contacting Us Today

Recent Reviews

  • InnJoo Halo
  • Infinix Hot 2 (X510)
  • InnJoo Fire

RSS Contents From Babanature Blog

  • Don't download latest Windows 10 update if you own one of these popular laptops
  • The new Android 11 features that will actually change your phone
  • The new PlayStation 5 looks like a giant broadband router
  • 5 secure smartphone settings that’ll protect you from hackers
  • Facebook's new tool reveals if you're being scammed

FOLLOW ONENAIJA BLOG

Icon IconIcon Follow Me on Pinterest

Translate to Your Language

Friend Us On Facebook

Copyright © 2021 · Proudly Onenaijablog Re-Touched By, Babanature | Google+