Skip to:
Content
Pages
Categories
Search
Top
Bottom

How can I add badges to users

  • @kikismedia

    Participant

    I’m trying to add my cred badges to users that’s have the highest topics but I couldn’t achieve this please help me out

    <?php foreach ( get_users( ‘order=DESC&orderby=post_count&number=5’ ) as $user ) : ?>
     <?php $user = get_current_user_id();
    $badge_id = 1;

    mycred_assign_badge_to_user( $user, $badge_id, 1 ); ?>

Viewing 7 replies - 1 through 7 (of 7 total)
  • @robin-w

    Moderator

    @kikismedia

    Participant

    Do you have shorcode for this

    @soyocib434

    Participant

    we are looking for a shortcode if you have.

    @robin-w

    Moderator

    the answer is no, the plugin does what it does.

    what do you want a shortcode to do and where would you want to place it?

    @banaja8

    Participant

    i install this plugin its very nice needs some update im sure developer will work more on this.

    @robin-w

    Moderator

    without defining what you think is needed, it is very hard for the developer to know what you think needs improving

    @marksmith11

    Participant

    Check out this WordPress plugin it will help out
    bbp user ranking
    By Robin Wilson

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Skip to toolbar