Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Steps to add item views counter for each listing
Support Forums - Classified Ads Script Osclass
Osclass plugin support
Other
Steps to add item views counter for each listing
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
Demark
26 posts
Steps to add item views counter for each listing
«
on:
January 15, 2021, 03:51:34 PM »
Steps to add item views counter for each listing
I tried to paste
<?php echo osc_item_views();
the code everywhere in item.php. but it shows syntax error, unexpected '<'
where can I paste the code exactly in which line?
Logged
Marked as best answer by
frosticek
on February 10, 2021, 11:58:12 AM
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: Steps to add item views counter for each listing
«
Reply #1 on:
February 08, 2021, 09:14:57 AM »
@Denmark
Correct code"
Code:
[Select]
<?php
echo
osc_item_views
();
?>
Can be entered anywhere just not between other <?php ?> tags
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Demark
26 posts
Re: Steps to add item views counter for each listing
«
Reply #2 on:
February 10, 2021, 09:11:35 AM »
Thank you so much
Logged
Print
Pages: [
1
]