Plugin Author
myCred
(@designbymerovingi)
Hi.
As of 1.6, the “Points for viewing content” hook will award points on each page load until you hit the limit. If you do not want this, you can apply a code snippet that disabled this feature and limit points to once per post:
http://pastebin.com/tauxBhQK
where should i put this code?
Plugin Author
myCred
(@designbymerovingi)
Your child theme’s functions.php file. Or if you are not using a child theme, your main theme’s functions.php file.
i put this code in function thus sometimes viewing content points 1 , sometimes 2 , sometimes 4
what’s the problem?
also i want to add new point , for example for rating the the pots
is there a solution?
Plugin Author
myCred
(@designbymerovingi)
You placed it inside the theme’s functions.php file? Saved and uploaded to your server?
Plugin Author
myCred
(@designbymerovingi)
That code snippet is an old version. Please update with the code linked in my previous comment and try again.
i put this code
http://pastebin.com/tauxBhQK
that u said before
and it turned to this
http://www.ariamovie.ir/function.txt
that i said before
what’s the problem?
why yod put solved in this topic , my prooblem still exists