• Hi there!

    I am interested in sharing different groupings of badges on a page so that there is a badge for each assignment when it’s turned in, and in a separate section, all of the quizzes, etc. Is it possible to segregate them on display?

    Thanks so much!
    Best wishes,
    Rosi

    https://wordpress.org/plugins/badgeos/

Viewing 1 replies (of 1 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    Not sure how much of a coder you are at all, but since achievements are all post types, it’d be pretty straightforward to do some WP_Query calls on the post types and display them however you see fit. Each achievement in each achievement type is a post in the associated post type, and they all have their own post meta as well.

    Depending on how you’re wanting the sections to be, it’s possible you could also use the [badgeos_achievements_list] shortcode to display individual achievement types, but I will let you know that it’s not going to work with multiple instances of the shortcode on one page, due to the ajax involved to populate the shortcode data. Logically, from what I can recall, as long as the markup for each is unique per page, instead of say hidden divs with the other instances, you should be fine. If they’re all rendered on the same page and shown/hidden via css or js, it won’t work because of the multiple matching ID attributes.

    Hopefully this isn’t going over your head, but if it is, let me know.

Viewing 1 replies (of 1 total)
  • The topic ‘Display Groups of Badges’ is closed to new replies.