Osclass Support Forums

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: Сергей Борисов on May 02, 2017, 04:42:55 AM

Title: count views on search list-view
Post by: Сергей Борисов on May 02, 2017, 04:42:55 AM
Hi, how change count views on search list-view. When user browse AD in item page count +1, on search page count X2, premium AD not understand how count(100, 247, 400!.....) How change count for all "count +1" Thanks!
Title: Re: count views on search list-view
Post by: MB Themes on May 02, 2017, 08:29:41 AM
@Сергей Борисов
In theme files locate function osc_item_views() and modify it to whatever you want (osc_item_views()*2, osc_item_views()+1, ...)
Title: Re: count views on search list-view
Post by: Сергей Борисов on May 02, 2017, 05:04:14 PM
I can't find this function, can you help me?
Title: Re: count views on search list-view
Post by: Ivanko on May 03, 2017, 09:17:22 AM
I can't find this function, can you help me?

loop-single.php
loop-single-premium.php
Title: Re: count views on search list-view
Post by: MB Themes on May 03, 2017, 03:32:45 PM
@Сергей
This function can be used in item.php as well.