Integrate and Display Google AdSense for Search and Co-Op Custom Search Engine Results in WordPress Blog Page Template إدماج وعرض صور AdSense للبحث والتعاونيه نتائج محرك البحث المخصص في قالب الصفحه بلوق WordPress
Google AdSense for Search features the ability to let web publishers to open and display search results within the website itself. صور AdSense للبحث القدرة على ميزات واسمحوا ناشرين لفتح وعرض نتائج البحث ضمن الموقع نفسه. 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. في عبارة اخرى ، فان نتائج ما يبحث عنه المستخدم أداؤها في صور AdSense للبحث ستظهر في غضون الاطار على صفحة من الموقع ، وذلك بدلا من ان المستخدمين لضرورة عدم ترك الناشرين والمواقع التى يجرى اتخاذها لصور ، في حين لا يزال قادرة على البحث عن المعلومات مع صور للبحث في صفحات الانترنت. 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. الى جانب ، صور AdSense للبحث ، صور التعاونيه ايضا ان محرك البحث المخصص يمكن ان توضع ومتكاملة ، جنبا الى جنب مع نتائج البحث في الموقع ، وتأتي مع اكثر خيارات التخصيص من قبيل تصفيات البحث ، اعلانات المواقع ، او الحد من اعطاء الاولوية لمواقع تدرج في نتائج البحث والتغيير وتعديل الشكل والمظهر ، بالتعاون مع المستخدمين ، والقدرة على انشاء عدة محركات بحث ، مع تحقيق ايرادات AdSense ، وبطبيعة الحال ، والقدرة على الاندماج في القائمة موقع بلوق والقوالب.
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 لدمج ، إدماج ، وتضمين نتائج البحث عرض صور من صور AdSense للبحث وصور التعاونيه محرك البحث المخصص داخل القالب وموضوع بلوق WordPress ، نحن نستخدم خطوات مماثلة لتلك المستخدمة integrate and embed Amazon aStore into WordPress وترسيخ التكامل بين الامازون الى astore WordPress blog by using additional Page template. بلوق عن طريق استخدام قالب صفحة اضافية. 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. يمكنك تضمين نتائج البحث المدونه على قصاصات وظيفة جديدة اذا اردت لعرض نتائج البحث بناءا على ما قمت WordPress القالب الموضوع في فترة ما بعد. 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. ولكن ، وكما وظيفة لا تسمح لك لاختيار نموذج فريد من نوعه مخصص لحظة واحدة في ما بعد ، فسوف يكون لها نفس النسق ما بعد بين جميع مداخل ونتائج البحث. 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. وهذا ليس من المستصوب ، كما الشريط الجانبي قد يستغرق الكثير من الفضاء ، وموضوع في مرحلة ما بعد نموذج يحتوي على اعلانات AdSense customisation نفسها أو غيرها من شأنها ان تجعل جزءا لا يتجزأ من نتائج البحث يبدو غريبا. 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. حتى صفحة جديدة باستخدام القالب هو الخيار الأفضل ، وصور نتائج البحث ويمكن عرض WordPress على نفسها من دون اي حاجة الى البرنامج المساعد.
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. الى ترسيخ وادماج وعرض البحث لعرض صور من صور AdSense للبحث وصور التعاونيه محرك بحث مخصص في بلوق WordPress ، جرب الخطوات التالية.
- Sign up for اشترك Google AdSense صور AdSense or او Google Co-Op Custom Search Engine صور التعاونيه محرك بحث مخصص .
- 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). عندما تولد صور AdSense شفره مربع البحث او صور التعاونيه محرك البحث المخصص (محرك البحث المخصص (شفره مربع البحث ، تذكر لاختيار "فتح النتائج داخل بلدي الموقع" (صور AdSense للبحث في اطار فتح صفحة نتائج البحث الباب) او "المضيفه مربع البحث ونتائج البحث على موقعك الخاص "(في اطار استراتيجية اثيوبيا اضافة محرك البحث هذا القسم إلى موقع الويب الخاص بك).
Key in the URL of the page on your site that the search results will appear. الرئيسية في عنوان الصفحه على موقعك ان نتائج البحث سوف تظهر. 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 صفحة صفحة دون آلام ، وعنوان الموقع ينبغي ان يكون مثل هذا : http://www.yourdomain.com/page-title/ (اي http://www.mydigitallife.info/google-search/). Note: trailing slash is insignificant, and can be dropped. ملاحظه : السحب القطع ضءيله ، ويمكن الاستغناء عنها. - 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. يمكنك أن تفعل أي تعديل للصور الشخصيه الخاصة بك محرك البحث ، مثل اللون ، الشعار ، والاسلوب والاخراج الطباعي ، أو اللغة ، أو صور الملك بلده ، لتشمل مواقع ، وغير ذلك الا انه للخروج من نطاق هذه المادة .
- After customizing the search box, generate and get the search box code and search results code. بعد تخصيص مربع البحث ، وتوليد والحصول على شفره مربع البحث ونتائج البحث المدونه. (You must have both code, if not your configuration of search box is wrong.) (يجب ان يكون لديك مدونة على حد سواء ، ان لم يكن للتكوين الخاص بك في مربع البحث على خطأ.)
- Create a custom page template for Wordpress based on your existing Page template. إنشاء صفحة مخصص للWordPress القالب الحالي الخاص بك على اساس قالب الصفحه. You may retain or drop the sidebar (<?php get_sidebar(); ?> line), as sidebar may take up a lot of your webpage space. يمكنك أن تحتفظ او اسقاط الشريط الجانبي (<؟ بي. اتش. بى get_sidebar () ؛؟> الخط) ، حسب الشريط الجانبي قد يستغرق الكثير من الفضاء صفحة الويب الخاصة بك. If so you will need to adjust the width of search results accordingly during configuration and customisation of search box. وإذا كان الأمر كذلك سوف تحتاج الى تعديل عرض نتائج البحث من خلال تشكيل وبناء عليه customisation من خانة البحث. 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. الى جانب ، كما WordPress قوالب بشدة الانحياز ومواقعها عن طريق استخدام العلامات div CSS ، قد تحتاج لازالة div CSS في تصميم التي تحد من العرض (اذا قمت بازاله الشريط الجانبي (او تعديل الهيكل التنظيمي للتخطيط في صور نتائج البحث الخاصة بك قالب الصفحه . 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): وبوجه عام ، فإن صور بحث في صفحة نتائج البحث قالب الشريط الجانبي دون بالمثل نود ان مثل هذا (تعليقات على القانون في قالب مائل ، لا يمكن تجاهلها بأمان) :
<?php <؟ بي. اتش. بى
/* / *
Template Name: Search Results Page اسم القالب : صفحة نتائج البحث
*/ * /
?> ؟>
The above section is important so that Wordpress will identify the new theme’s php file as a Page template. المادة المذكورة اعلاه من المهم ان ذلك سيحدد WordPress موضوع جديد للملف بي. اتش. بى كما قالب الصفحه. You can change the template name though. يمكنك تغيير اسم القالب على الرغم.<?php get_header(); ?> <؟ بي. اتش. بى get_header () ؛؟>
In Wordpress theme’s header, there may be also DIV tag that controls the width in the Page layout. WordPress في موضوع للرأس ، قد تكون هناك div أيضا علامة على ان يسيطر على العرض في تصفيفها. If it’s the case, the remove this line, the copy and paste the everything from Header template, and modify accordingly. لو كان الأمر كذلك ، فإن إزالة هذا الخط ، ونسخ ولصق كل شيء من رأس القالب ، وتعدل وفقا لذلك.<div class=”content”> <divclass="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. ومرة أخرى فإن هذا قد يحد من عرض النسق ، واذا كان الامر كذلك ، والاستعاضه عنها div الهيكل الخاص بك ، او ببساطة مع <center></ مركز> (الذي كنت (او مجرد ازالة الخط.<!– Google Search Result Snippet Begins –> <! -- صور نتيجة البحث قصاصة يبدأ -->
<div id=”googleSearchUnitIframe”></div> <divid="googlesearchunitiframe"> </ div><script type=”text/javascript”> <scripttype="text/javascript">
var googleSearchIframeName = ‘googleSearchUnitIframe’; فار googlesearchiframename = 'googlesearchunitiframe' ؛
var googleSearchFrameWidth = 700; googlesearchframewidth فار = 700 ؛
var googleSearchFrameborder = 0 ; فار googlesearchframeborder = 0 ؛
var googleSearchDomain = ‘www.google.com’; فار googlesearchdomain = 'www.google.com' ؛
</script> </ سكريبت>
<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> </ سكريبت>
<!– Google Search Result Snippet Ends –> <! -- صور نتيجة البحث قصاصة تنتهي -->Replace above line with your own Google search results code (not Google search box code). يستعاض عن اعلاه وفقا للصور الخاصة بك شفره نتائج البحث (صور لا شفره مربع البحث).
</div> </ div>
If you don’t use any DIV above, just remove this line too. اذا كنت لا تستخدم اي div اعلاه ، مجرد ازالة هذا الخط ايضا. If you use <center>, replace with </center>. اذا كنت تستخدم <center>، ويستعاض عنها </ مركز>.<?php get_footer(); ?> <؟ بي. اتش. بى 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. ملاحظه : يمكنك ايضا استبعاد موضوع للرأس الصفحه وذيلها (يعني اساسا مجرد ملف فارغ قالب مجرد خط شفره نتائج البحث ، والتي سيتم عرض نتائج البحث فقط ، بل ان انتفاء الغرض من التكامل مع WordPress.
- Save the new page template for your WordPress theme. انقاذ صفحة جديدة للقالب الخاص بك WordPress الموضوع. You can give it any name. يمكنك ان تقدم له اي اسم.
- Upload the new page template with search results code to your Wordpress theme’s directory. تحميل صفحة جديدة مع قالب شفره نتائج البحث الخاص بك إلى موضوع WordPress دليل. So if you’re using Blogsome or Wordpress.com, you may be out of luck. حتى اذا كنت تستخدم blogsome او wordpress.com ، يمكنك ان تكون من الحظ.
- Create a new Wordpress static Page by clicking on “Write” then “Write Page”. انشاء لجنة جديدة WordPress ساكنة الصفحه عن طريق النقر على "الكتابة" ثم "كتابة صفحة".
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). عنوان رئيسي في ما تدخلها لموقع لعرض نتائج البحث اثناء الاعداد للصور مربع البحث اعلاه (على سبيل المثال اذا قمت بادخال / صور - بحث / على النحو عنوان الرابط لصفحة نتائج البحث ، سوف تحتاج الى ادخال صور كما بحث عنوان الصفحه). You page-slug has to be exactly the same with the URL entered as shown in image below. أنت - الصفحه الدوده البزاقه ان يكون نفس عنوان الموقع مع دخل كما هو مبين في الصورة ادناه. - On the Page Template at the side, choose Search Results Page (or whichever name you gave to the new template). على قالب الصفحه في جانب ، اختر صفحة نتائج البحث (او ايا كان الاسم الذي اعطيتموه الى القالب الجديد).
- Save and publish the page. وانقاذ بنشر الصفحه.
- Edit your template, and put in the search box code to anywhere you like the search box to appear. تحرير القالب ، ووضع في خانة البحث الى قانون في أي مكان هل ترغب في مربع البحث على ما يبدو.
- The search results from Google is now integrated with WordPress blog. نتائج البحث من صور الان متكاملة مع بلوق WordPress. Whenever a user search with the Google search box from AdSense or Custom Search Engine, the search results will appear within your WordPress blog. متى ما يبحث عنه المستخدم مع صور من AdSense مربع البحث او محرك البحث المخصص ، وسوف تظهر نتائج البحث الخاصة بك داخل بلوق WordPress.
For sample of integration and inline search results display in WordPress blog by Google AdSense for search, simply use the search box on top. لعينة من التكامل ومضمن في عرض نتائج البحث من جانب صور بلوق WordPress AdSense للبحث ، لمجرد استخدام مربع البحث الموجود على اعلى. For Google Co-Op Custom Search Engine, check out صور لالتعاونيه محرك البحث المخصص ، افحص Google Medical Search Engine صور طبية محرك البحث .
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. هام : هذا هو الاله الذي ترجم صفحة مقدمة "كما هى" دون ضمان. Machine translation may be difficult to understand. الترجمة الاليه قد يكون من الصعب ان نفهم. Please refer to يرجى الرجوع الى original English article المادة الاصليه English whenever possible. كلما كان ذلك ممكنا.
Share and contribute or get technical support and help at والمساهمة في حصة او الحصول على الدعم التقني والمساعدة فى My Digital Life Forums بلدي الرقميه الحياة المنتديات .
Related Articles مقالات ذات صلة
- Which Search Engine is the Best and Most Relevant? محرك البحث الذي هو أفضل وأهم؟
- Technorati Incoming Links Plugin for WordPress Technorati الوافد صلات البرنامج المساعد لWordPress
- Force Firefox to Open Search Box Originated Result Page in New Blank Tab قوة فايرفوكس لفتح مربع البحث نشأت نتيجة لصفحة بيضاء جديدة في علامة التبويب
- Windows Live Search Review by PC World ويندوز لايف البحث استعراض عن طريق جهاز كمبيوتر في العالم
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working ترقيم صفحات WordPress او تقسيم او ما بعد في صفحة nextpage WordPress لا تعمل
- Add NoFollow Relationship to WordPress Blogroll to Increase PageRank اضافة الى العلاقة nofollow WordPress مدونات لزيادة تصنيف الصفحات
- Check Web Page Strength In Term of Search Engine Optimization صفحة ويب التحقق من قوة في مدة محرك البحث الأمثل
- Replace Google Blog Search with Technorati for Incoming Links in Dashboard of WordPress صور بلوق يحل محل بحث مع وصلات Technorati المقبل في لوحة القيادة من WordPress
- Kosmix Search Engine Kosmix محرك البحث
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter Stattraq -- وردبريس البرنامج المساعد للموقع احصاءيه ومكافحة الاتجار
































August 20th, 2007 05:26 اب / اغسطس 20th ، 2007 05:26
I am trying to follow these instructions and am not having any luck with getting the results to appear on the search page. واني اسعى الى ان اتباع هذه التعليمات وانا لا يكون لها اي حظ مع حصول على النتائج لتظهر على صفحة البحث.
I think I am not doing the static page bit right. واعتقد انني لا تفعل الساكنه الصفحه بت الحق. How do I make it a static page exactly? كيف اجعل الصفحه انها ساكنة بالضبط؟
September 9th, 2007 04:37 التاسع من ايلول / سبتمبر ، 2007 04:37
This is my first post ان هذا هو أول وظيفة
just saying HI وقال عادل مرحبا
February 3rd, 2008 11:58 الثالث من شباط / فبراير ، 2008 11:58
i really like your ad layouts and of course on how to implement it in wordpress.org sites.. انا حقا مثل اعلانك مخططات وبطبيعة الحال على كيفية تنفيذه في مواقع wordpress.org..
i hope you make them into wodpress plugins instead so that it will be easier. وامل ان تكونوا جعلها في wodpress ملحقات وبدلا من ان ذلك سيكون من الاسهل. I’m pretty sure your site will be more popular. انا متأكد جميلة موقعك سيكون اكثر شعبية.
thanks شكرا
May 10th, 2008 14:55 العاشر من ايار / مايو ، 2008 14:55
Is there a way to keep a published page from showing up? هل هناك طريقة للابقاء على نشر صفحة من الظهور؟ My template uses wp_list_pages to display the top level pages in a menu, can i suppress my search results page? بلدي wp_list_pages القالب تستخدم لعرض صفحات المستوى الاعلى في القائمة ، يمكن لي ان بلدي قمع صفحة نتائج البحث؟
June 12th, 2008 15:41 يونيو 12th ، 2008 15:41
[...] 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 [...] [...]ادماج وعرض صور AdSense للبحث والتعاونيه المخصص لدمج ، إدماج ، وتضمين نتائج البحث عرض صور من صور AdSense للبحث وصور التعاونيه محرك البحث المخصص داخل القالب وموضوع WordPress]. ..]
June 15th, 2008 19:02 يونيو 15th ، 2008 19:02
[...] 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 allá دل نويفو producto صور ، recomiendo است أ pequeño باسو باسو اختصار اسم مدينة كوبيك الكنديه لي الخمر muy bien poder الفقره لوس resultados ان integrar el قالب دي [...]
August 14th, 2008 22:49 اب / اغسطس 14th ، 2008 22:49
Buen artículo aunque las imágenes un poco borrosas. Buen artículo aunque 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 el بلوق ان دي مي الويب هادئ éxito ، si الاصدار siguiendo esta técnica…