show achievements only of the user author of the publication obtaining his id au
-
hi, i want to use your plugin for the following:
give points for users to get an achievement or give the achievement manually. my users are from woocommerce therefore I have sellers who will get points for selling with the extension of their plugin for woocommerce, and buyers who will get points for buying and both will get an achievement badge.
Now the drawback I have is that when I want to use a short code like: [gamipress_earnings] and show it somewhere on the simple product page so that buyers can see what the seller or author of the publication has achieved for having achieved several sales , then you should use the user_id attribute.
but it does not work for me, because it shows me the achievements of all users and not the author of the post or the publication of the product in my case. what I need is for the shortcode to get the product post author id and show only their achievements and badges. I hope I have been clear and I will be very grateful if you give me any suggestions on how to achieve this.
- The topic ‘show achievements only of the user author of the publication obtaining his id au’ is closed to new replies.