Integrate and Display Google AdSense for Search and Co-Op Custom Search Engine Results in WordPress Blog Page Template Mengintegrasikan dan Tampilan Google AdSense untuk Pencarian dan Co-Op Custom Search Engine Hasil di Wordpress Blog Page Template

Google AdSense for Search features the ability to let web publishers to open and display search results within the website itself. Google AdSense untuk Pencarian fitur kemampuan untuk membiarkan web penerbit untuk membuka dan menampilkan hasil pencarian dalam situs web itu sendiri. In other word, the results of a user search performed in Google AdSense for Search box will appear within a frame on a page from the site, so that rather the users need not to leave the publishers' websites and being taken to Google, while still able to search for information with Google web search. Dengan kata lain, hasil pencarian yang dilakukan pengguna di Google AdSense untuk kotak pencarian akan ditampilkan dalam bingkai pada halaman dari situs, sehingga agak para pengguna tidak perlu meninggalkan penerbit situs dan dibawa ke Google, sementara masih bisa mencari informasi dengan pencarian Web Google. Beside, Google AdSense for Search, Google Co-op also has Custom Search Engine that can be placed and integrated, together with the search results into website, and comes with more customization options such as search refinements, ads positioning, prioritize or limit sites to include in search results, change and modify the look and feel, collaboration with users, ability to create multiple search engine, make money with AdSense, and of course, ability to integrate into existing website and blog templates. Disamping, Google AdSense untuk pencarian, Google Co-op juga memiliki Custom Search Engine yang dapat ditempatkan dan terpadu, bersama dengan hasil pencarian ke situs Web, dan hadir dengan lebih banyak pilihan penyesuaian seperti perbaikan pencarian, posisi iklan, memprioritaskan atau membatasi situs untuk disertakan dalam hasil pencarian, mengubah dan memodifikasi tampilan dan nuansa, kolaborasi dengan pengguna, kemampuan untuk membuat beberapa mesin pencari, membuat uang dengan AdSense, dan tentu saja, kemampuan untuk mengintegrasikan ke dalam website dan blog yang ada template.

To integrate, incorporate, embed and display Google search results from Google AdSense for Search and Google Co-Op Custom Search Engine within the template and theme of WordPress blog, we use the similar steps that used to Untuk mengintegrasikan, menggabungkan, embed dan menampilkan hasil pencarian Google dari Google AdSense untuk Pencarian dan Google Co-Op Custom Search Engine dalam template dan tema Wordpress blog, kami menggunakan langkah-langkah serupa yang digunakan untuk integrate and embed Amazon aStore into WordPress mengintegrasikan dan menanamkan Amazon aStore ke Wordpress blog by using additional Page template. blog dengan menggunakan template Halaman tambahan. You can embed the search results code snippets on a new post if you want to display search results based on your WordPress theme's Post template. Anda dapat menanamkan potongan kode hasil pencarian pada sebuah posting baru jika Anda ingin menampilkan hasil pencarian berdasarkan tema's Post Wordpress template. However, as Post doesn't allow you to select a unique custom template for a single post, you will have the same layout among all the post entries and search results. Namun, sebagaimana Posting tidak mengijinkan Anda untuk memilih template kustom yang unik untuk satu posting, Anda akan memiliki tata letak yang sama di antara semua posting entri dan hasil pencarian. This is not advisable, as sidebar may take up a lot of space, and the theme's Post template has contains AdSense ads itself or other customisation that will make the embedded search results appear odd. Hal ini tidak dianjurkan, karena mungkin sidebar mengambil banyak ruang, dan tema's Post template memiliki berisi iklan AdSense itu sendiri atau penyesuaian lain yang akan membuat hasil pencarian tertanam tampak aneh. So using a new Page template is better choice, and the Google search results can be made display on WordPress itself without any need of plugin. Jadi menggunakan Halaman baru template adalah pilihan yang lebih baik, dan hasil pencarian Google dapat dibuat tampilan di Wordpress itu sendiri tanpa membutuhkan plugin.

To embed, integrate and display Google search displays from Google AdSense for Search and Google Co-Op Custom Search Engine in WordPress blog, try the following steps. Untuk embed, mengintegrasikan dan menampilkan pencarian Google menampilkan dari Google AdSense untuk Pencarian dan Google Co-Op Custom Search Engine di Wordpress blog, cobalah langkah-langkah berikut.

  1. Sign up for Mendaftar untuk Google AdSense Google AdSense or atau Google Co-Op Custom Search Engine Google Co-Op Custom Search Engine . .
  2. When generate the Google AdSense search box code or Google Co-Op Custom Search Engine (CSE) search box code, remember to select “Open results within my own site” (Google AdSense for Search under Opening of search results page section) or “Host a search box and search results on your own site” (CSE under Add this search engine to your website section). Ketika menghasilkan kotak pencarian Google AdSense kode atau Google Co-Op Custom Search Engine (CSE) kode kotak pencarian, ingatlah untuk memilih "Buka hasil di situs saya sendiri" (Google AdSense untuk Pencarian di bawah Pembukaan bagian halaman hasil pencarian) atau "Host kotak pencarian dan hasil pencarian di situs Anda sendiri "(CSE di bawah Tambahkan mesin pencari ini ke situs web Anda bagian).

    Google AdSense untuk Hasil Pencarian di Situs
    Google Co-Op Hasil CSE di Situs
    Key in the URL of the page on your site that the search results will appear. Masukkan URL dari halaman di situs Anda bahwa hasil pencarian akan muncul. For WordPress page without page parent, the URL should look like this: http://www.yourdomain.com/page-title/ (ie http://www.mydigitallife.info/google-search/). Untuk Wordpress halaman tanpa halaman induk, URL akan terlihat seperti ini: http://www.yourdomain.com/page-title/ (yaitu http://www.mydigitallife.info/google-search/). Note: trailing slash is insignificant, and can be dropped. Catatan: spasi tidak signifikan, dan dapat menjatuhkan.

  3. You can do any other customization of your personal Google search engine, such as color, logo, style, layout, language, Google domain's country, sites to include, and etc. However, it's out of the scope of this article. Anda dapat melakukan kustomisasi lain pribadi anda mesin pencari Google, seperti warna, logo, gaya, tata letak, bahasa, negara domain Google, situs untuk menyertakan, dan sebagainya Namun, di luar dari cakupan artikel ini.
  4. After customizing the search box, generate and get the search box code and search results code. Setelah menyesuaikan kotak pencarian, menghasilkan dan mendapatkan kode kotak pencarian dan hasil pencarian kode. (You must have both code, if not your configuration of search box is wrong.) (Anda harus memiliki kode keduanya, jika tidak konfigurasi anda kotak pencarian yang salah.)
  5. Create a custom page template for Wordpress based on your existing Page template. Buat halaman kustom template untuk Wordpress berdasarkan Page template Anda yang ada. You may retain or drop the sidebar (<?php get_sidebar(); ?> line), as sidebar may take up a lot of your webpage space. Anda dapat mempertahankan atau menjatuhkan sidebar (<? Php get_sidebar ();?> Baris), seperti sidebar dapat mengambil banyak ruang halaman Web Anda. If so you will need to adjust the width of search results accordingly during configuration and customisation of search box. Jika demikian Anda akan perlu untuk menyesuaikan lebar hasil pencarian yang sesuai pada konfigurasi dan penyesuaian kotak pencarian. Beside, as Wordpress templates are heavily aligned and positioned by using CSS DIV tags, you may need to remove DIV in CSS layout that restrict the width (if you remove the sidebar) or modify the structure of the layout in your Google search results page template. Di samping, seperti Wordpress template yang sangat selaras dan diposisikan dengan menggunakan tag DIV CSS, Anda mungkin perlu menghapus DIV dalam CSS layout yang membatasi lebar (jika Anda menghapus sidebar) atau memodifikasi struktur tata letak pada halaman hasil pencarian Google template . Generally, a Google Search search results page template without sidebar would like similarly like this (comments on template code in italic, can be safely ignored): Secara umum, Google Search halaman hasil pencarian sidebar template tanpa mau sama seperti ini (komentar di kode template di italic, dapat diabaikan dengan aman):
    <?php php
    /* / *
    Template Name: Search Results Page Nama template: Halaman Hasil Pencarian
    */ * /
    ?> ?>
    The above section is important so that Wordpress will identify the new theme's php file as a Page template. Bagian di atas adalah penting agar Wordpress akan mengidentifikasi tema baru itu file php sebagai halaman template. You can change the template name though. Anda dapat mengubah nama template sekalipun.

    <?php get_header(); ?> <? php get_header ();?>
    In Wordpress theme's header, there may be also DIV tag that controls the width in the Page layout. Di Wordpress tema header, mungkin ada juga DIV tag yang mengontrol lebar di Layout halaman. If it's the case, the remove this line, the copy and paste the everything from Header template, and modify accordingly. Jika itu terjadi, maka hapus baris ini, copy dan paste semuanya dari Header template, dan memodifikasi sesuai.

    <div class=”content”> <div class="content">
    Again, this may restrict the width of layout, if so, replace it with your own DIV structure, or simply with <center></center> (which I used) or just remove the line. Sekali lagi, hal ini dapat membatasi lebar layout, jika demikian, ganti dengan struktur DIV Anda sendiri, atau hanya dengan <center> </ center> (yang saya gunakan) atau hanya hapus baris.

    <!– Google Search Result Snippet Begins –> <! - Google Search Result Snippet Begins ->
    <div id=”googleSearchUnitIframe”></div> <div id="googleSearchUnitIframe"> </ div>

    <script type=”text/javascript”> <script type="text/javascript">
    var googleSearchIframeName = 'googleSearchUnitIframe'; var googleSearchIframeName = 'googleSearchUnitIframe';
    var googleSearchFrameWidth = 700; var googleSearchFrameWidth = 700;
    var googleSearchFrameborder = 0 ; var googleSearchFrameborder = 0;
    var googleSearchDomain = 'www.google.com'; var googleSearchDomain = 'www.google.com';
    </script> </ script>
    <script type=”text/javascript” <script type = "text / javascript"
    src=”http://www.google.com/afsonline/show_afs_search.js”> src = "http://www.google.com/afsonline/show_afs_search.js">
    </script> </ script>
    <!– Google Search Result Snippet Ends –> <! - Google Search Result Snippet Ends ->

    Replace above line with your own Google search results code (not Google search box code). Ganti dengan baris di atas hasil pencarian Google sendiri kode (bukan kode kotak pencarian Google).

    </div> </ div>
    If you don't use any DIV above, just remove this line too. Jika Anda tidak menggunakan DIV di atas, hanya menghapus baris ini juga. If you use <center>, replace with </center>. Jika Anda menggunakan <center>, ganti dengan </ center>.

    <?php get_footer(); ?> <? php get_footer ();?>

    Note: You can also exclude the theme's header and footer (basically mean empty template file just just a line of search results code, which will display only search results, but that defeat the purpose of integration with Wordpress. Catatan: Anda juga dapat mengecualikan tema header dan footer (pada dasarnya berarti hanya file template kosong hanya baris kode hasil pencarian, yang hanya akan menampilkan hasil pencarian, namun kekalahan tujuan integrasi dengan Wordpress.

  6. Save the new page template for your WordPress theme. Simpan halaman baru template untuk Wordpress tema. You can give it any name. Anda dapat memberikan nama apa pun.
  7. Upload the new page template with search results code to your Wordpress theme's directory. Meng-upload halaman baru template dengan kode hasil pencarian ke Wordpress tema direktori. So if you're using Blogsome or Wordpress.com, you may be out of luck. Jadi, jika Anda menggunakan Blogsome atau Wordpress.com, Anda mungkin akan beruntung.
  8. Create a new Wordpress static Page by clicking on “Write” then “Write Page”. Buat Halaman statis Wordpress baru dengan mengklik pada "Write" lalu "Write Page".
    Key in Title as what you enter for URL to display search results during setup of Google search box above (eg if you enter /google-search/ as URL for search results page, you will need to enter Google Search as page title). Masukkan Judul seperti apa yang Anda masukkan untuk URL untuk menampilkan hasil pencarian dalam pembuatan kotak pencarian Google di atas (misalnya jika anda masukkan / google-search / sebagai URL untuk halaman hasil pencarian, Anda akan perlu untuk memasukkan Google Search sebagai halaman judul). You page-slug has to be exactly the same with the URL entered as shown in image below. Halaman-siput Anda harus persis sama dengan URL yang dimasukkan seperti yang ditunjukkan pada gambar di bawah ini.
  9. On the Page Template at the side, choose Search Results Page (or whichever name you gave to the new template). Pada halaman Template di samping, pilih Halaman Hasil Pencarian (atau nama manapun yang Anda berikan kepada template baru).

    Template Posting dan Post Slug

  10. Save and publish the page. Simpan dan mempublikasikan halaman.
  11. Edit your template, and put in the search box code to anywhere you like the search box to appear. Edit template Anda, dan dimasukkan ke dalam kode untuk kotak pencarian di mana pun Anda suka kotak pencarian untuk muncul.
  12. The search results from Google is now integrated with WordPress blog. Hasil pencarian dari Google sekarang terintegrasi dengan Wordpress blog. Whenever a user search with the Google search box from AdSense or Custom Search Engine, the search results will appear within your WordPress blog. Setiap kali pengguna mencari dengan kotak pencarian Google dari AdSense atau Custom Search Engine, hasil pencarian akan ditampilkan dalam blog WordPress Anda.

For sample of integration and inline search results display in WordPress blog by Google AdSense for search, simply use the search box on top. Untuk sampel inline integrasi dan hasil pencarian ditampilkan di Wordpress blog oleh Google AdSense untuk pencarian, cukup gunakan kotak pencarian di atas. For Google Co-Op Custom Search Engine, check out Untuk Google Co-Op Custom Search Engine, check out Google Medical Search Engine Google Kedokteran Search Engine . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.


10 Responses to “Integrate and Display Google AdSense for Search and Co-Op Custom Search Engine Results in WordPress Blog Page Template” 10 Responses to "Mengintegrasikan dan Tampilan Google AdSense untuk Pencarian dan Co-Op Custom Search Engine Hasil di Wordpress Blog Page Template"

  1. Javier F. Javier F.
    January 26th, 2009 12:17 26 Januari 2009 12:17
    10 10

    Very clear instructions. Jelas instruksi. I succesfully integraded google search to my blog. Aku berhasil integraded google search ke blog saya. Thanks, great work! Thanks, great work!

  2. JD (1to1million) JD (1to1million)
    November 9th, 2008 21:16 9 November 2008 21:16
    9 9

    Real shame that the results page (SERP) is dumbed down and doesn't even display the number of pages.. Sayang sekali bahwa halaman hasil pencarian (SERP) adalah dumbed turun dan bahkan tidak menampilkan jumlah halaman ..

    Give you » Results 1-10 Memberi Anda »Hasil 1-10

    but misses the » …of about __,___ for tapi ketinggalan »... dari sekitar __,___ untuk

  3. rafa rafa
    October 2nd, 2008 17:28 2 Oktober 2008 17:28
    8 8

    Hi, Hai,
    I succeded in integrating the search into my blog. Aku succeded mengintegrasikan pencarian ke blog saya. The problem is that search results are to wide for being displaied correctly. Masalahnya adalah bahwa hasil pencarian harus lebar karena displaied benar. since I need my sidebars for navigation (don't have page nav in header) i only have about 600 pix available for display width. karena saya butuh sidebars untuk navigasi (halaman tidak memiliki nav di header) saya hanya memiliki sekitar 600 pix tersedia untuk layar lebar. the minimum display width given by google is 795pix. layar lebar minimum yang diberikan oleh google adalah 795pix. so it messes up my sidebar and search result display. jadi saya mengacaukan sidebar dan menampilkan hasil pencarian.
    any help? any help?
    thanks terima kasih

  4. Radio Radio
    August 14th, 2008 22:49 14 Agustus 2008 22:49
    7 7

    Buen artículo aunque las imágenes un poco borrosas. Buen artículo aunque un poco las Imágenes borrosas. Llevo semanas intentando embedir Adsense en el blog de mi web sin éxito, a ver si siguiendo esta técnica… Llevo Adsense semanas intentando embedir en el blog de mi web dosa Exito, siguiendo a ver si esta técnica ...

  5. Probando el nuevo Búsqueda Personalizada de Google - Primate Blog Búsqueda Probando Personalizada el nuevo de Google - Primata Blog
    June 15th, 2008 19:02 15 Juni 2008 19:02
    6 6

    [...] cierto, y más allá del nuevo producto Google, recomiendo este pequeño paso a paso que me vino muy bien para poder integrar los resultados en el template de [...] [...] Cierto, y más alla del nuevo producto Google, recomiendo este pequeno paso a paso que me vino muy bien para poder integrar los resultados en el template de [...]

  6. Wordpress Plugin Centre - Clean Wordpress Template - Integrate and Display Google AdSense for Search and Co-Op Custom Wordpress Plugin Centre - Bersih Wordpress Template - Mengintegrasikan dan Tampilan Google AdSense untuk Pencarian dan Co-Op Custom
    June 12th, 2008 15:41 12 Juni 2008 15:41
    5 5

    [...] Integrate and Display Google AdSense for Search and Co-Op Custom To integrate, incorporate, embed and display Google search results from Google AdSense for Search and Google Co-Op Custom Search Engine within the template and theme of WordPress [...] [...] Mengintegrasikan dan Tampilan Google AdSense untuk Pencarian dan Co-Op Custom Untuk mengintegrasikan, menggabungkan, embed dan menampilkan hasil pencarian Google dari Google AdSense untuk Pencarian dan Google Co-Op Custom Search Engine dalam template dan tema dari Wordpress [. ..]

  7. ragin'Geek ragin'Geek
    May 10th, 2008 14:55 10 Mei 2008 14:55
    4 4

    Is there a way to keep a published page from showing up? Apakah ada cara untuk menyimpan halaman yang diterbitkan ditampilkan? My template uses wp_list_pages to display the top level pages in a menu, can i suppress my search results page? Saya menggunakan template wp_list_pages untuk menampilkan halaman tingkat atas dalam menu, dapat saya menekan halaman hasil pencarian saya?

  8. get it from Boy! mendapatkannya dari Boy!
    February 3rd, 2008 11:58 Februari 3, 2008 11:58
    3 3

    i really like your ad layouts and of course on how to implement it in wordpress.org sites.. i benar-benar menyukai layout iklan dan tentu saja tentang bagaimana menerapkannya di situs wordpress.org ..

    i hope you make them into wodpress plugins instead so that it will be easier. i harap Anda membuat mereka menjadi bukan plugin wodpress sehingga akan lebih mudah. I'm pretty sure your site will be more popular. Aku cukup yakin situs Anda akan lebih populer.

    thanks terima kasih

  9. jameswillisisthebest jameswillisisthebest
    September 9th, 2007 04:37 9 September 2007 04:37
    2 2

    This is my first post Ini adalah posting pertama saya
    just saying HI cuma bilang HI

  10. NetBloke NetBloke
    August 20th, 2007 05:26 20 Agustus 2007 05:26
    1 1

    I am trying to follow these instructions and am not having any luck with getting the results to appear on the search page. Saya mencoba untuk mengikuti instruksi ini dan saya tidak mempunyai keberuntungan dengan mendapatkan hasil untuk muncul di halaman pencarian.

    I think I am not doing the static page bit right. Saya rasa saya tidak melakukan Halaman statis sedikit benar. How do I make it a static page exactly? Bagaimana cara membuat halaman statis tepat?

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Anda dapat menggunakan tag ini: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Berlangganan ke fitur komentar telah dinonaktifkan. To receive notification of latest comments posted, subscribe to Untuk menerima pemberitahuan dari komentar terbaru diposting, untuk berlangganan My Digital Life Comments RSS feed My Digital Life Komentar RSS feed or atau register to receive mendaftar untuk menerima new comments in daily email digest. komentar baru di email digest harian.
Custom Search

New Articles Artikel Baru

Incoming Search Terms for the Article Cari Syarat masuk untuk Artikel

google google - -- modify adsense search width memodifikasi adsense lebar pencarian - -- integrate google adsense mengintegrasikan google adsense - -- how to modify google custom search width cara memodifikasi lebar google custom search - -- integrate google adsense in custom application mengintegrasikan google adsense dalam aplikasi kustom - -- "inline search results" google "inline hasil pencarian" google - -- costom disply google pase change google costom disply perubahan Pase - -- Custom Google Search Results in php Hasil Pencarian Google Custom di php - -- googleSearch Unit Iframe width change Unit GoogleSearch perubahan lebar iframe - -- host search result pages adsense search box host halaman hasil pencarian kotak pencarian adsense - -- can a static page in wordpress has adsense dapat sebuah halaman statis di wordpress telah adsense - -- Adsense El Paso Adsense El Paso - -- result google adsense search google adsense Hasil pencarian - --