Getsimple + bootstrap = www.angelostudio.net
Like it, nice nice...
How did you include the amount of preview and generate a like box?
Here's a simple Counter class based on ItemManager that you can use to count users who have visited certain pages or count the number of clicks and to create the vote stuff etc.
Create a new ItemManager category, name it vcounter for example, then create a text field for it, name it total. Copy and paste the Counter class in your functions.php file in your theme folder. Change the 1 parameter in $counter = new Counter(1); line with your id of the vcounter category.
Now you can use the Counter class to count the page views.
To increment a counting variable for current page do this (in your template):
To increment a counting variable for specific page:
To decrement a counting variable for current page:
To decrement a counting variable for specific page:
To output the counting variable for current page use:
To output the counting variable for specific page use following:
To delete the counter for current page do this:
To delete the counter for specific page do this
Note, this approach is not thread-safe.
Nice plugin, fantastic!
This Plugin LoveThis is free? or premium?
(2017-04-13, 10:08:25)Carrara Wrote: Nice plugin, fantastic!
LoveThis plugin is premium... It will be available next week.
What do you get?