• Resolved corduroy

    (@corduroy)


    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://www.ads-software.com/plugins/shiftcontroller/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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_"]

    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?

    Hello,
    yes sorry it’s a bug with multiple staff ids supplied, it’s resolved in 2.4.0 version.

    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.