Home Mājas » » Search Tips Meklēšanas padomi

How to implement Google Adsense Search in Wordpress blog and Make Money Kā ieviest Google Adsense Meklēt WordPress blogu un Make Money

Search feature is a major requirement in any site. Meklēt iezīme ir nozīmīga prasība jebkurā vietā. Its not easy to keep on searching in archive of any site. Tās nav viegli turēt uz atrodas arhīvu jebkurā vietā. In this article we will learn how to implement AdSense search results within WordPress Pages. Šajā rakstā mēs uzzinātu, kā īstenot AdSense meklēšanas rezultātus WordPress Pages. Making money is another part of it. Darīt naudu citā daļu. This question was asked to my by Šis jautājums tika uzdots mana ar Shankar Shankar after he saw its implemented on my site. pēc tam, kad viņš redzēja tās īsteno manā vietā. Prior to starting this tutorial I don't take any responsibility if any article similar to this is already written. Pirms sākt šo pamācību man nav nekādu atbildību, ja jebkura līdzīgi kā tas jau tiek rakstīta. I have done it with my own experience. Man ir darīt to ar savu pieredzi.

Here are the steps which we will follow.:- Lūk, kas ir pasākumi, ar kuru mēs sekot.: --

  • Making a Page on your Wordpress blog . Making Page savā WordPress blogā.
  • Creating Adsense code from Adsense account by Google Adsense for Search. Radīt Adsense kodu no Adsense kontu ar Google AdSense Search.
  • Understanding , Creating a template file for Search Page and Adding Adsense Code Izpratne, radot template failu meklēšanas lapa un pievienojot Adsense Code
  • Applying the template to the page you created in 1st step. Piemērojot veidni lapu jūs izveidots 1. solis.

Create a page in your Wordpress blog: Izveidot lapu WordPress blog:


Its an easy step. Tās ir viegli solis.

  • Login to your Wordpress admin area. Login to savu WordPress admin jomā.
  • Go to Manage > Write > Write Page. Iet uz Manage> Write> Write Page.
  • Add a suitable title and page-slug. Pievienot piemērots nosaukums un lapu-tīrradnis. Eg – Page Title : Site Search . Piemēram - Page Title: Site Search. Page Slug – Google-search Page plēksne - Google meklēšanā
  • On the sidebar of editor you will find option of adding Template to the page. No sānjoslas ar redaktoru jūs atradīsiet iespēju pievienot Veidne uz lapu. Leave it as Default. Atstāt to Default.
  • Don't write anything in the page now, Just publish it and exit from it. Nelietojiet rakstīt neko lapu tagad, Just publicē to un izceļojot no tās.

Now the note the URL of the page which for an example can be Tagad atzīmēt URL lapā, kas par piemēru var http://www.technospot.net/blogs/google-search http://www.technospot.net/blogs/google-search . . Make sure its valid. Pārliecinieties, ka tā ir spēkā.

page_new

Creating your Adsense code for search. Radīt savu Adsense kods meklēšanai.


Google Adsense allows you to add a form which act as a search box for any site. Google Adsense ļauj jums pievienot veidā, kas darbojas kā meklēšanas lodziņu jebkurā vietā. But there is one constrain with Adsense Search. Bet šeit ir viena piespiest ar Adsense Search. Your site should be indexed properly if you want search result to be displayed from your site else it can be used for normal search.Follow the steps: Jūsu vietnes būtu jāindeksē pareizi, ja jūs vēlaties meklēt rezultātā, lai parādītu no sava portāla cits to var izmantot normālai search.Follow pasākumi:

  • Now login to your Google Adsense account and go to Adsense Setup > Adsense for search. Tagad piesakieties savā Google Adsense kontā un dodieties uz Adsense Setup> Adsense meklēšanai.
  • After entering all the details of your site and customization you will get an option like Pēc ievadot visu informāciju par savu vietu un pielāgošanu jūs iegūsiet iespēju, piemēram,

google_adsense_option

  • Choose the third option and enter the search page URL which you created in previous step for me ie Izvēlas trešo variantu un ievadiet meklēšanas lapas URL, ko jūs izveidots iepriekšējā solī man ti http://www.technospot.net/blogs/google-search http://www.technospot.net/blogs/google-search . .
  • Now you will get two codes. Tagad Jūs saņemsiet divus kodus. One for the Search Form and other for search result code , which we will use it for our search page we created. Viens meklēšanas veids un otrs meklēšanas rezultātu kods, ko mēs izmantosim to mūsu meklēšanas lapā mēs izveidojām.

google_adsense_code

Understanding template and creating template file for Search Page Izpratne veidni un izveidot šablonu failu meklēšanas lapa


A template is something which can be reused again and again. Veidne ir kaut kas, ko var izmantot atkārtoti atkal un atkal. In Iekšā Wordpress template file WordPress veidni failu can be used to add it to Pages. var izmantot, lai pievienotu to Pages. So when the page is called it uses the template along with it. Līdz ar to, kad lapa saucas tā izmanto veidņu kopā ar to. Here we will create template file called as “Search.php” Šeit radīs template failu sauc par "Search.php"

  • Create a template file named as “search.php” on your d esktop . Izveidot veidnes fails nosaukts kā "search.php" par savu d esktop.
  • Now add the below code into it. Tagad pievienot zem kodu to.

search_template

  • Insert the Adsense code for Search Result inside the commented area. Ievietojiet Adsense code Meklēšanas rezultāti iekšpusē komentēja jomā.
  • Note remember to call header, footer and sidebar. Piezīme atcerieties zvanu galveni, kājeni un sānjoslas. And preferably add your code in the content part. Un vēlams pievienot savu kodu satura daļu.
  • Upload the file into the theme folder which you are currently using. Augšupielādēt failu uz theme mapi, ko jūs pašlaik lietojat.
  • Download the above code from here Lejupielādēt iepriekš kods no šejienes search.txt (rename it as .php file before uploadling) search.txt (pārdēvēt tā kā. php failu pirms uploadling)

Changing the template of search page. Mainot template meklēšanas lapu.

Tagged with: Tagged with:

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/NorwegianÖversätta till Svensk/Swedishहिन्दी अनुवाद करने के लिए/Hindi
Tradueix al català/CatalanTulkot uz latviešu/LatvianPreložiť do slovenčiny/SlovakVertaal aan het Nederlands/Dutchترجمة الى العربية/ArabicTraduzca al Español/SpanishTraduisez au Français/French
Traduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese TraditionalПереклад на українську/Ukrainian

SMS abonētPrint This Post

Posted on 10th June 2007 by Posted par 10 jūnijs 2007 Ashish Mohta Ashish Mohta , A tech blogger who writes about solving day to day problems of people who use computer. , A tech blogger, kas raksta par risināšana ikdienas problēmas, kas saistītas ar cilvēkiem, kuri lieto datoru. He also writes on How to use the applications like Office, PC tips, Online tools,Browsers and more. All posts by Viņš arī raksta par to, kā izmantot lietojumiem, piemēram, Office, PC padomus, Online instrumentus, pārlūkprogrammas un vairāk. Visi amatu ar Ashish Mohta Ashish Mohta | Connect with me @ | Savienoties ar mani @ Twitter Čivināt | | Linkedin Linkedin | | Facebook Facebook | | Stumble Paklupt | Need more help? | Vajadzīga palīdzība? Ask your Questions at our Jautājiet pēc mūsu Support Center Support Center

8 Comments 8 Komentāri » »

  • Carl Carl said: teica:

    Thanks for the informative post, I am however having trouble adding adsense in the middle of a wordpress post? Paldies par informatīvo pastu, es tomēr neizdodas pievienot adsense pa vidu uz WordPress pastu? Could you assist me in doing this? Vai jūs varētu palīdzēt man to izdarīt? How do you do it? Kā jūs to darīt? Thanks Pateicība

  • Dan Collins Dan Collins said: teica:

    Wow, thanks. Wow, thanks.

    I have been wanting to do this for a while and you tutorial was easy to follow and spot on. Man ir bijis kas vēlas to darīt kādu laiku un jums apmācība bija viegli sekot un spot on.

    Many Thanks Many Thanks

    Dan Collins - Dan Collins --

  • Rajib Miah Rajib Miah said: teica:

    The download link “search.txt (rename it as .php file before uploadling)” does not work. Lejupielāde saiti "search.txt (pārdēvēt tā kā. Php failu pirms uploadling)" nedarbojas.

  • Nihar Nihar said: teica:

    Hi Ashish, Hi Ashish,

    I am Nihar from Niharsworld.com. Es esmu Nihar no Niharsworld.com. I got to this page from Google. Man uz šo lapu no Google.

    I tried integrating custom google search. Es to izmēģināju integrējot pasūtījuma google meklēšanu. By creating a search template also removed getsidebar call to remove sidebar but didn't know how to achieve it. Veidojot meklēšanas šablonu arī svītrota getsidebar zvanu, lai novērstu sānjoslas bet nezināja, kā, lai to panāktu.

    I hope your solution will work. Ceru, ka jūsu risinājums darbu. I will let you know whether i succeeded or not . Es jums uzzināt, vai i izdevies, vai ne. If don't then will ask you for some more help. Ja nav, tad lūgs jums dažas vairāk palīdzēt.

    Thank you very much. Liels paldies. I hope to see you on my blog soon! Ceru, ka, lai aplūkotu jums par manu blogu soon!

  • Bryan Lee Bryan Lee said: teica:

    Great article! Lielisks raksts! I have incorporated this into my own blog. Man ir iekļauts to vērā savu emuāru. My only complaint was the link to search.txt is broken but it was easy enough to retype. Mani tikai sūdzības saiti uz search.txt ir bojāta, bet tas bija viegli pietiekami retype.

  • Jeff said: Jeff teica:

    I purchased some books and cds on internet marketing and implemented the techniques in a couple of my websites. I iepirka dažas grāmatas un cds par interneta mārketingu un īsteno metodes, pēc pāris manas mājas lapām. However I somewhat feel that I'm making some mistakes somewhere that is harming my traffic Tomēr es mazliet liekas, ka es esmu veiktas dažas kļūdas, kaut kas ir kaitē manu satiksmes

  • Dave Jackson Dave Jackson said: teica:

    This won't work on MOST Wordpress templates simply because Google Search requires a column at least 795 pixels wide. Tas ne darbu pie MOST WordPress veidnes tikai tāpēc, ka Google meklēšanas nepieciešama kolonna, vismaz 795 pikseļus plats.

  • Goon Stulbenis said: teica:

    Thanks for sharing. Thanks for sharing. By the way, this is not suite my wordpress template because Google search result require at least 795 pixels wide, like Dave said. Starp citu, šī nav suite manu WordPress veidni, jo Google meklēšanas rezultātu vajadzīgas vismaz 795 pikseļiem plats, piemēram, Dave teica. I think the better solution is to show search result outside my website. Es domāju, ka labākais risinājums ir parādīt meklēšanas rezultātu ārpus manas mājas lapā.

Leave your response! Atstājiet savu reakciju!

Be nice. Be nice. Keep it clean. Paturiet to tīram. Stay on topic. Palieciet uz tēmu. No spam. Nr surogātpastu.

You can use these tags: Jūs varat izmantot šos tagus:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>