V
V
Vlad2017-03-25 17:44:11
Yandex
Vlad, 2017-03-25 17:44:11

How to put search from Yandex on Wordpress?

Look at https://expert-obzor.ru/search/
Created a page on Wordpress, placed on it what was required in the instructions https://site.yandex.ru/
But why doesn't the search work anyway?? The form is there, but the results are not showing.

<div class="ya-site-form ya-site-form_inited_no" onclick="return {'action':'http://expert-obzor.ru/search/','arrow':false,'bg':'transparent','fontsize':12,'fg':'#000000','language':'ru','logo':'rb','publicname':'Поиск на expert-obzor.ru','suggest':true,'target':'_self','tld':'ru','type':2,'usebigdictionary':true,'searchid':2292100,'input_fg':'#000000','input_bg':'#ffffff','input_fontStyle':'normal','input_fontWeight':'normal','input_placeholder':'','input_placeholderColor':'#000000','input_borderColor':'#7f9db9'}"><form action="https://yandex.ru/search/site/" method="get" target="_self" accept-charset="utf-8"><input type="hidden" name="searchid" value="2292100"/><input type="hidden" name="l10n" value="ru"/><input type="hidden" name="reqenc" value=""/><input type="search" name="text" value=""/><input type="submit" value="Найти"/></form></div><style type="text/css">.ya-page_js_yes .ya-site-form_inited_no { display: none; }</style><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0],e=d.documentElement;if((' '+e.className+' ').indexOf(' ya-page_js_yes ')===-1){e.className+=' ya-page_js_yes';}s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,'yandex_site_callbacks');</script>

<div id="ya-site-results" onclick="return {'tld': 'ru','language': 'ru','encoding': ''}"></div><script type="text/javascript">(function(w,d,c){var s=d.createElement('script'),h=d.getElementsByTagName('script')[0];s.type='text/javascript';s.async=true;s.charset='utf-8';s.src=(d.location.protocol==='https:'?'https:':'http:')+'//site.yandex.net/v2.0/js/all.js';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Results.init();})})(window,document,'yandex_site_callbacks');</script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Mavlikhanov, 2017-03-25
@Sc0undRel

because you have some error in the console2d480276c1e6451995b6317b26636b6b.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question