Integrate and Display Google AdSense for Search and Co-Op Custom Search Engine Results in WordPress Blog Page Template Integruoti ir rodyti "Google" "AdSense for Search and Co-Op individualizuotos paieškos rezultatai WordPress blog šabloną

Google AdSense for Search features the ability to let web publishers to open and display search results within the website itself. Google AdSense for Search "funkcijos sugebėjimas leisti leidėjams atidaryti ir rodyti paieškos rezultatus svetainėje pati. 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. Kitaip tariant, kai vartotojas atlieka paiešką Google AdSense paieškos laukelis bus rodomas per rėmelį puslapį į svetainę rezultatus, kad būtų, o vartotojai turi nepalikti svetainės leidėjai ir buvo imtasi "Google", o dar sugebėti ieškoti informacijos internete su Google paieška. 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. Be Google AdSense for Search "," Google Co-op "taip pat yra individualizuotos paieškos programą, kuri gali būti integruota ir kartu su paieškos rezultatais į svetainę, ir ateina su daugiau pritaikymo galimybes, pavyzdžiui, paieškos patikslinimus, reklamos pozicijas, prioritetą ar apriboti svetaines įtraukti į paieškos rezultatus, keisti ir keisti išvaizdą, bendradarbiavimas su vartotojais, galimybė sukurti keletą paieškos užsidirbti pinigų su "AdSense" ir, žinoma, gebėjimas integruotis į esamą svetainę ir blogas šablonus.

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 Integruoti, įtraukti, įdėti ir rodyti "Google" paieškos rezultatų, Google AdSense for Search "ir" Google Co-Op IPP pagal šabloną ir tema WordPress blog, mes naudojame panašių veiksmų, kurie naudojami integrate and embed Amazon aStore into WordPress integruoti ir įdėti Amazon aStore į WordPress blog by using additional Page template. Dienoraštis naudojant papildomus šablono puslapį. 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. Jūs galite dėti paieškos rezultatus kodo fragmentus apie naujas pranešimas, jei norite pamatyti paieškos rezultatus, remiantis savo WordPress theme's žinutės šabloną. 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. Tačiau, kaip Rašyti neleidžia jums pasirinkti unikalų šabloną už vieną žinutę, gausite tą patį išdėstymą tarp visų Publikuoja ir paieškos rezultatus. 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. Tai nėra patartina, nes šoninės panelės gali užtrukti daug erdvės ir teminius Rašyti šablonas yra AdSense reklamos arba kitos pagal kliento poreikius, kad bus įdėta paieškos rezultatai atrodo keista. 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. Taigi, naudojant naują puslapio šabloną yra geresnis pasirinkimas, o "Google" paieškos rezultatų, gali būti rodomas ant WordPress pati be jokių plugin reikia.

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. Įtvirtinti, integruoti ir ekrane rodomas "Google" paiešką iš Google AdSense for Search "ir" Google Co-op individualizuotos paieškos WordPress blog, pabandykite atlikti šiuos veiksmus.

  1. Sign up for Užsiregistruoti Google AdSense Google AdSense or arba 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). Kada sukurti "Google AdSense" paieškos laukelio kodas "ar" Google Co-op IPP (IPP) paieškos laukelio kodas, nepamirškite pasirinkti "Open rezultatus savo svetainėje" ( "Google AdSense" paieškai pagal Darbo paieškos rezultatų puslapio skyrių) arba "Host paieškos laukelį ir rezultatus savo svetainėje "(CSE pagal Pridėkite šią paieškos programą į savo svetainę skyrių).

    Google AdSense paieškos rezultatai Svetainės
    Google Co-op IPP rezultatai Svetainės
    Key in the URL of the page on your site that the search results will appear. Surinkite į puslapio URL į savo svetainę, kad paieškos rezultatai bus rodomi. 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/). "WordPress puslapio be puslapio tėvų, URL turėtų atrodyti taip: http://www.yourdomain.com/page-title/ (ty http://www.mydigitallife.info/google-search/). Note: trailing slash is insignificant, and can be dropped. Pastaba: ukośnika yra nereikšmingas, ir gali būti atsisakyta.

  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. Tai galite padaryti kitų pritaikymų savo asmeninį "Google" paieškos sistema, pavyzdžiui, spalvą, logotipą, stilius, išdėstymas, kalbos, Google "domeną savo šalyje, įtraukti svetaines, ir tt Tačiau tai iš šio straipsnio taikymo sritį.
  4. After customizing the search box, generate and get the search box code and search results code. Po tinkinti paieškos laukelį, generuoti ir gaukite paieškos lauko kodą ir paieškos rezultatų kodas. (You must have both code, if not your configuration of search box is wrong.) (Jūs turite turėti tiek kodas, jei ne jūsų konfigūracijos paieškos laukelio yra neteisinga.)
  5. Create a custom page template for Wordpress based on your existing Page template. Kurti pasirinktinį puslapio šabloną WordPress pagal jūsų esamą puslapio šabloną. You may retain or drop the sidebar (<?php get_sidebar(); ?> line), as sidebar may take up a lot of your webpage space. Galite išsaugoti arba lašas Sidebar (<? Php get_sidebar ();?> Linija), nes šoninės panelės gali užtrukti iki savo tinklalapį daug erdvės. If so you will need to adjust the width of search results accordingly during configuration and customisation of search box. Jei taip, jums reikės patikslinti paieškos rezultatus atitinkamai per konfigūracija ir pritaikymas paieškos laukelio plotį. 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. Greta, kaip WordPress šablonai yra labai suderinta ir pastatytas naudojant CSS DIV žodžius, jums gali tekti pašalinti DIV ir CSS išdėstymą, ribojamas plotis (jei pašalinsite šoninės juostos) arba keisti išdėstymą struktūra Google paieškos rezultatų puslapio šablonas . 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): Apskritai, Google "paieškos rezultatų puslapyje šabloną be šoninės juostos norėtų panašiai kaip šis (komentarų dėl šablono kodą kursyvu, galima ignoruoti):
    <?php <? PHP
    /* / *
    Template Name: Search Results Page Šablono pavadinimas: Paieškos rezultatai Puslapis
    */ *
    ?> ?>
    The above section is important so that Wordpress will identify the new theme's php file as a Page template. Aukščiau skyriuje yra svarbu, kad WordPress bus nustatyti naują temą nie PHP failą kaip šabloną. You can change the template name though. Jūs galite keisti šablono pavadinimas nors.

    <?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. WordPress theme's head, ten taip pat gali būti DIV tag kontrolę pagal puslapio maketo plotis. If it's the case, the remove this line, the copy and paste the everything from Header template, and modify accordingly. Jei tai byla, ištrinti šią eilutę, nukopijuokite ir įklijuokite jį iš antraštės viskas šabloną, ir atitinkamai iš dalies pakeisti.

    <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. Vėlgi, tai gali apriboti maketo plotis, jei taip, tai jį pakeisti savo DIV struktūrą, arba tiesiog su <center> </ span> (kurį aš), arba tiesiog pašalinti eilutę.

    <!– Google Search Result Snippet Begins –> <! - Google Search Result fragmento 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 fragmento Ends ->

    Replace above line with your own Google search results code (not Google search box code). Pakeisti virš linijos su savo "Google" paieškos rezultatų kodą (ne "Google" paieškos laukelio kodas).

    </div> </ div>
    If you don't use any DIV above, just remove this line too. Jei nenorite naudoti bet DIV aukščiau, tiesiog ištrinti šią eilutę taip pat. If you use <center>, replace with </center>. Jei naudojate <center>, pakeisti su </ 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. Pastaba: taip pat galite pašalinti teminius antraštės ir poraštės (iš esmės reiškia tuščią šablono failą vien tik iš paieškos rezultatų kodas, eilutė, kurioje bus rodomi tik paieškos rezultatų, tačiau pralaimėjimas integracija su WordPress tikslas.

  6. Save the new page template for your WordPress theme. Įrašyti naują puslapio šabloną WordPress tema. You can give it any name. Jūs galite suteikti bet kokį vardą.
  7. Upload the new page template with search results code to your Wordpress theme's directory. Įkelti naują puslapio šabloną paieškos rezultatų kodą į WordPress tema kataloge. So if you're using Blogsome or Wordpress.com, you may be out of luck. Taigi, jei jūs naudojate Blogsome arba Wordpress.com, jums gali būti out of luck.
  8. Create a new Wordpress static Page by clicking on “Write” then “Write Page”. Sukurti naują WordPress statinis puslapio paspaudę ant "Rašyti", tada "Page Write".
    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). Pagrindiniai antraštinės dalies, kaip tai, ką reikia įvesti nuorodą "rodyti paieškos rezultatus diegimo metu" Google "paieškos laukelį (pvz., jei įvesite / google-search / kaip URL paieškos rezultatų puslapį, jums reikės įvesti" Google "paieškos puslapį, kaip pavadinime). You page-slug has to be exactly the same with the URL entered as shown in image below. Jūs puslapyje-šliužas turi būti tiksliai su URL pat įrašyti kaip parodyta paveikslėlyje.
  9. On the Page Template at the side, choose Search Results Page (or whichever name you gave to the new template). Į puslapio šabloną pusėje pasirinkti Paieškos rezultatai Puslapis (ar kas vardą davė naują šabloną).

    Šablonas posta ir pašto Slug

  10. Save and publish the page. Išsaugoti ir publikuoti puslapyje.
  11. Edit your template, and put in the search box code to anywhere you like the search box to appear. Redaguoti savo šabloną, ir įdėti į paieškos laukelį kodą, kur norite patalpinti paieškos laukelį.
  12. The search results from Google is now integrated with WordPress blog. Paieškos rezultatai "Google" šiuo metu yra integruota su WordPress dienoraštis. Whenever a user search with the Google search box from AdSense or Custom Search Engine, the search results will appear within your WordPress blog. Kai vartotojas paieška Google paieškos laukelį iš AdSense arba individualizuotos paieškos programos paieškos rezultatų bus rodomi Jūsų WordPress blog.

For sample of integration and inline search results display in WordPress blog by Google AdSense for search, simply use the search box on top. Mėginių integracijos ir inline paieškos rezultatuose rodyti "WordPress dienoraštis Google AdSense for Search", tai tiesiog naudokite paieškos laukelį viršuje. For Google Co-Op Custom Search Engine, check out "Google Co-op Custom Search Engine, check out Google Medical Search Engine Google Medicinos Paieška . .

IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.


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 "integruoti ir rodyti" Google "" AdSense for Search and Co-Op individualizuotos paieškos rezultatai WordPress blog šabloną "

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

    Very clear instructions. Labai aiškias instrukcijas. I succesfully integraded google search to my blog. Aš sėkmingai integraded google search to my blog. Thanks, great work! Ačiū, puikus darbas!

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

    Real shame that the results page (SERP) is dumbed down and doesn't even display the number of pages.. Nekilnojamasis Gaila, kad puslapio (SERP) yra pernelyg suprimityvina ir neturi net ekrano puslapių skaičių ..

    Give you » Results 1-10 Jums »Rezultatai 1-10

    but misses the » …of about __,___ for tačiau nepataikė ... iš »Apie __,___ už

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

    Hi, Labas,
    I succeded in integrating the search into my blog. Aš succeded integruojant į mano dienoraštį paiešką. The problem is that search results are to wide for being displaied correctly. Problema ta, kad paieškos rezultatai yra plačiai už tai, kad displaied teisingai. since I need my sidebars for navigation (don't have page nav in header) i only have about 600 pix available for display width. nes man reikia šoninės panelės navigacijos (neturite puslapis nav antraštėje) Aš tik apie 600 pix prieinamas ekrano plotį. the minimum display width given by google is 795pix. minimali ekrano plotį, kurias "Google" 795pix. so it messes up my sidebar and search result display. todėl draikant mano šoninės juostos ir paieškos rezultatų ekraną.
    any help? Any help?
    thanks ačiū

  4. Radio Radijas
    August 14th, 2008 22:49 14 rugpjūtis 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 semanas intentando embedir Adsense en el dienoraštį de mi sin éxito interneto, ver si siguiendo esta técnica ...

  5. Probando el nuevo Búsqueda Personalizada de Google - Primate Blog Probando El nuevo Búsqueda personalizada de Google - Primatai Dienoraštis
    June 15th, 2008 19:02 15 birželis 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 pequeño paso 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 centras - Švarus WordPress šabloną - integruoti ir rodyti "Google" "AdSense for Search and Co-Op Custom
    June 12th, 2008 15:41 12 birželis 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 [...] [...] Integracija ir rodyti "Google" "AdSense for Search and Co-Op paprotys integruoti, įtraukti, įdėti ir rodyti" Google "paieškos rezultatų, Google AdSense for Search" ir "Google Co-Op IPP pagal šabloną ir tema WordPress [. ..]

  7. ragin'Geek ragin'Geek
    May 10th, 2008 14:55 10 gegužė 2008 14:55
    4 4

    Is there a way to keep a published page from showing up? Ar yra būdas išlaikyti paskelbtų puslapį rodyti? My template uses wp_list_pages to display the top level pages in a menu, can i suppress my search results page? Mano šablonas naudoja wp_list_pages rodyti aukščiausio lygio puslapių meniu, galiu nuslopinti savo paieškos rezultatų puslapyje?

  8. get it from Boy! gauti jį iš Boy!
    February 3rd, 2008 11:58 3 vasaris 2008 11:58
    3 3

    i really like your ad layouts and of course on how to implement it in wordpress.org sites.. I really like your maketams ir, žinoma, kaip ją įgyvendinti wordpress.org svetaines ..

    i hope you make them into wodpress plugins instead so that it will be easier. Tikiuosi, kad jūs juos į wodpress plugins vietoj to, kad ji bus paprasčiau. I'm pretty sure your site will be more popular. I'm pretty, kad jūsų svetainė bus labiau populiarėja.

    thanks ačiū

  9. jameswillisisthebest jameswillisisthebest
    September 9th, 2007 04:37 9 rugsėjis 2007 04:37
    2 2

    This is my first post Tai mano pirmoji post
    just saying HI just saying hi

  10. NetBloke NetBloke
    August 20th, 2007 05:26 20 rugpjūtis 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. Aš stengiuosi vadovautis šiais nurodymais ir nesu turintys bet su Pirmieji rezultatai būtų rodomi paieškos puslapis laimės.

    I think I am not doing the static page bit right. Manau, kad aš ne daryti statinis puslapis šiek teisė. How do I make it a static page exactly? Kaip padaryti, kad jis statinis puslapis tiksliai?

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> Galite naudoti šiuos žodžius: <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. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

google google - -- modify adsense search width pakeisti AdSense paieška plotis - -- integrate google adsense integruoti Google AdSense - -- how to modify google custom search width kaip pakeisti "Google Custom Search plotis - -- integrate google adsense in custom application integruoti Google AdSense individualizuotos programos - -- "inline search results" google "Inline paieškos rezultatus" Google " - -- costom disply google pase change costom disply Google pase pakeisti - -- Custom Google Search Results in php "Google" individualizuotos paieškos rezultatai PHP - -- googleSearch Unit Iframe width change Googlesearch Vnt Iframe plotis kaita - -- host search result pages adsense search box priimančiosios paieškos rezultatų puslapiuose AdSense paieškos laukelį - -- can a static page in wordpress has adsense gali statinis puslapis WordPress turi AdSense - -- Adsense El Paso Adsense "El Paso - -- result google adsense search Rezultatas Google AdSense paieška - --