Title: Ranks shortcodes give error code
Last modified: August 30, 2016

---

# Ranks shortcodes give error code

 *  Resolved [conrich](https://wordpress.org/support/users/conrich/)
 * (@conrich)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/)
 * version 1.10.4
 * Hello.
 * I make a page with the shortcodes:
 * [wordpoints_user_rank user_id=”post_author”] or [wordpoints_user_rank]
    and when
   I go to the page it says:
 * “Shortcode error: The “rank_group” attribute of the
 * Shortcode error: The “rank_group” attribute of the [wordpoints_user_rank] shortcode
   must be a rank group slug.
 * shortcode must be a rank group slug.”
 * I have a default points type selected.
    I have both the “Ranks” and “Points” 
   components activated. I have set up many different rank names set up under the
   default points.
 * What can I do to make the error message stop? I’m not an expert obviously, but
   any suggestions?
 * [https://wordpress.org/plugins/wordpoints/](https://wordpress.org/plugins/wordpoints/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230761)
 * Hello [@conrich](https://wordpress.org/support/users/conrich/),
 * Thank you for reporting this bug. I have tested it, and I experienced the same
   thing. The shortcode should know that you want to display the rank for the default
   points type. I will fix this bug in 2.0. Until that version is released, you 
   can use the `points_type` attribute for the shortcode, like this:
 *     ```
       [wordpoints_user_rank points_type="points"]
       ```
   
 * or
 *     ```
       [wordpoints_user_rank user_id="post_author" points_type="points"]
       ```
   
 * etc.
 * You just need to replace “points” with the slug of your points type.
 * I’m sorry for the long delay before a response. I took the day off yesterday 
   and so I just saw your post.
 *  Thread Starter [conrich](https://wordpress.org/support/users/conrich/)
 * (@conrich)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230847)
 * I have tested the shortcodes [wordpoints_user_rank points_type=”points”] and [
   wordpoints_user_rank user_id=”post_author” points_type=”points”]
 * The shortcodes work with some of my points types. For some reason it just doesn’t
   work for my points type that I have 10 different ranks for.
 * Thanks for your dedicated hard work.
 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230848)
 * I’m glad it is working for you now. Could you post a copy of the shortcode for
   the points type that it isn’t working for?
 *  Thread Starter [conrich](https://wordpress.org/support/users/conrich/)
 * (@conrich)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230862)
 * I found out why. When using capital letters for the slug, it doesn’t work which
   was what I was doing. My bad, but I got to start learning somewhere =p. Thanks
   for your continued development once more 🙂
 *  Thread Starter [conrich](https://wordpress.org/support/users/conrich/)
 * (@conrich)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230867)
 * everything is working just fine turns out…just me typing the slug wrong. had 
   changed the name of it in settings and assumed the slug changed. all good now.
 *  Thread Starter [conrich](https://wordpress.org/support/users/conrich/)
 * (@conrich)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230869)
 * Resolved
 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230881)
 * I’m sorry for the confusion about the slug. The slug has to stay the same so 
   that all of your shortcodes and things won’t break when you change the name of
   a points type. I’m glad you were able to figure it out though.
 *  Plugin Author [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * (@jdgrimes)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230952)
 * I’ve released version 2.0.0, which fixes this issue. You will no longer have 
   to use the `points_type` attribute for the default points type.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Ranks shortcodes give error code’ is closed to new replies.

 * ![](https://ps.w.org/wordpoints/assets/icon.svg?rev=1662380)
 * [WordPoints](https://wordpress.org/plugins/wordpoints/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpoints/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpoints/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpoints/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpoints/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpoints/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [J.D. Grimes](https://wordpress.org/support/users/jdgrimes/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/ranks-shortcodes-give-error-code/#post-6230952)
 * Status: resolved