2017-04-04, 17:22:02
Getsimple + bootstrap = www.angelostudio.net
angelostudio.net
|
2017-04-04, 17:22:02
Getsimple + bootstrap = www.angelostudio.net
2017-04-07, 22:19:50
Like it, nice nice...
2017-04-12, 14:18:43
How did you include the amount of preview and generate a like box?
2017-04-13, 04:31:16
2017-04-13, 06:35:06
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.
https://gist.github.com/bigin/5ef95d3352...1e7acc0172 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): Code: $counter->increment(); Code: $counter->increment($slug); To decrement a counting variable for current page: Code: $counter->decrement(); Code: $counter->decrement($slug); To output the counting variable for current page use: Code: echo $counter->getCount(); Code: echo $counter->getCount($slug); To delete the counter for current page do this: Code: $counter->remove(); Code: $counter->remove($slug); Note, this approach is not thread-safe.
2017-04-13, 10:08:25
Nice plugin, fantastic!
This Plugin LoveThis is free? or premium?
2017-04-13, 13:42:59
(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?
|
« Next Oldest | Next Newest »
|