Цитата:Если можете изменить код, вставьте в JS перед 27стр.
Выдало шквал ошибок:
Warning: Use of undefined constant console - assumed 'console' (
Warning: Use of undefined constant res - assumed 'res'
Warning: Use of undefined constant max_num_pages - assumed 'max_num_pages'
Warning: A non-numeric value encountered
Warning: A non-numeric value encountered
Warning: Use of undefined constant view - assumed 'view'
Warning: A non-numeric value encountered in
Warning: Use of undefined constant page - assumed 'page'
Warning: A non-numeric value encountered in
Warning: Use of undefined constant res - assumed 'res'
Warning: A non-numeric value encountered in
Warning: Use of undefined constant success - assumed 'success'
Цитата:Посмотрите в отладчике Chrome ошибки в JS.
там светятся ошибки:
ReferenceError: mjob_post_thumbnail is not definedunderscore.min.js:12:1
Underscore 2
render
http://buystart111/wp-content/th[dot][dot][dot]nette[dot]js?ver=1:1
render
http://buystart111/wp-content/th[dot][dot][dot]nette[dot]js?ver=1:1
render self-hosted:844
renderItemView
http://buystart111/wp-content/th[dot][dot][dot]nette[dot]js?ver=1:1
addItemView
http://buystart111/wp-content/th[dot][dot][dot]nette[dot]js?ver=1:1
addChildView
http://buystart111/wp-content/th[dot][dot][dot]nette[dot]js?ver=1:1
Backbone 11
success
http://buystart111/wp-content/th[dot][dot][dot]gine[dot]js?ver=1:75
jQuery 4
переходим в файл underscore.min.js:12:1:
CODE (
javascript):
скопировать код в буфер обмена
var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
with(obj||{}){
__p+='\n <div class="mjob-item">\n <div class="status-label">\n <span class="'+
((__t=( status_class ))==null?'':__t)+
'">'+
((__t=( status_text ))==null?'':__t)+
'</span>\n </div>\n\n <div class="mjob-item__image">\n <a href="'+
((__t=( permalink ))==null?'':__t)+
'">\n <img src="'+
((__t=( mjob_post_thumbnail ))==null?'':__t)+
'" alt="'+
((__t=( post_title ))==null?'':__t)+
'">\n </a>\n </div><!-- end .mjob-item__image -->\n\n <div class="mjob-item__entry">\n <div class="mjob-item__title">\n <h2 class="trimmed" title="'+
((__t=( post_title ))==null?'':__t)+
'">\n <a href="'+
((__t=( permalink ))==null?'':__t)+
'">'+
((__t=( post_title ))==null?'':__t)+
'</a>\n </h2>\n </div><!-- end .mjob-item__title -->\n\n <div class="mjob-item__price">\n <div class="mjob-item__price-inner">\n <span class="starting-text customize-color">Итоговая цена:</span>\n <span class="price-text customize-color">'+
((__t=( amount_text ))==null?'':__t)+
'</span>\n </div>\n </div><!-- end .mjob-item__price -->\n\n <div class="mjob-item__bottom clearfix">\n <div class="mjob-item__author">\n <span>\n Автор <a href="'+
((__t=( mjob_author_url ))==null?'':__t)+
'">'+
((__t=( mjob_author_name ))==null?'':__t)+
'</a></span>\n </div><!-- end .mjob-item__author -->\n\n <div class="order-item__date">\n '+
((__t=( post_human_time ))==null?'':__t)+
'\n </div>\n </div>\n </div>\n </div>\n';
}
return __p;