Title: Staff id
Last modified: August 22, 2016

---

# Staff id

 *  Resolved [corduroy](https://wordpress.org/support/users/corduroy/)
 * (@corduroy)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/staff-id/)
 * Hi,
 * Could you please give me an example of how I should include staff id into a shortcode.
   I have tried all variations of these without any success:
 * [shiftcontroller staff=”1,2,3″] [shiftcontroller staff=”1, 2, 3″][shiftcontroller
   staff=”1″,”2″,”3″]
 * Also, I have noticed that my schedule changes into small selection boxes based
   on location when I place something underneath it on the page editor. This is 
   totally fine, but I was wondering if those small selection boxes could show staff,
   rather than location (so staff can easily click there name and their individual
   schedule for the month will be shown).
 * Thanks, really loving the plugin
 * [https://wordpress.org/plugins/shiftcontroller/](https://wordpress.org/plugins/shiftcontroller/)

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

 *  [hitcode](https://wordpress.org/support/users/hitcode/)
 * (@hitcode)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/staff-id/#post-5728229)
 * Hello,
    this option (with commas) should work:
 *     ```
       [shiftcontroller staff="1,2,3"]
       ```
   
 * Also you can automatically show the shifts of the current user:
 *     ```
       [shiftcontroller staff="_current_user_id_"]
       ```
   
 *  [AdamJS](https://wordpress.org/support/users/adamjs/)
 * (@adamjs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/staff-id/#post-5728475)
 * Hi,
 * I’m having the same issue as well.
 * I’mm trying to show two different rotas on two different pages. One page is just
   showing the currently logged in user their upcoming shifts (using _[shiftcontroller
   staff=”\_current\_user\_id\_”]_)
 * The other is to show rota of 3 supervisors (_[shiftcontroller staff=”98,56,6″]_)
 * The “_\_current\_user\_id\__” works (as does a single supervisor ID) but as soon
   as I try add a comma, it no longer shows a single supervisor – it just shows 
   all users shifts.
 * Any ideas?
 *  [hitcode](https://wordpress.org/support/users/hitcode/)
 * (@hitcode)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/staff-id/#post-5728480)
 * Hello,
    yes sorry it’s a bug with multiple staff ids supplied, it’s resolved 
   in 2.4.0 version.
 *  [AdamJS](https://wordpress.org/support/users/adamjs/)
 * (@adamjs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/staff-id/#post-5728485)
 * I can confirm this is now working. Thanks for the quick resolution guys (_as 
   always_) 🙂

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

The topic ‘Staff id’ is closed to new replies.

 * ![](https://ps.w.org/shiftcontroller/assets/icon-128x128.png?rev=1851172)
 * [ShiftController Employee Shift Scheduling](https://wordpress.org/plugins/shiftcontroller/)
 * [Support Threads](https://wordpress.org/support/plugin/shiftcontroller/)
 * [Active Topics](https://wordpress.org/support/plugin/shiftcontroller/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shiftcontroller/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shiftcontroller/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)
 * [staff](https://wordpress.org/support/topic-tag/staff/)

 * 4 replies
 * 3 participants
 * Last reply from: [AdamJS](https://wordpress.org/support/users/adamjs/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/staff-id/#post-5728485)
 * Status: resolved