Created
July 27, 2018 11:31
-
-
Save mycred/2a7c2d9ae232dcb8adb7c84f1e8ada3d to your computer and use it in GitHub Desktop.
This script will award myCRED Points when a "Post" is published in WordPress. To define which tags gives points, the amount must be saved in the tags description field.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Great script! It's exactly what I was looking for! I'm using it for a custom post type.
Because I need the tag description for my tag archive page, it would be great if I could tweak the script in a way that the value does not come from the tag description, but instead from an ACF custom field (award_points) that Is attached to the tag.
Ideally, I would use something like this:
Maybe it's a stupid question. I'm not a developer... ;-)