Simple Staff List
Revisiting Multiple templates (2 posts)

  1. ckone
    Posted 2 years ago #

    Hi Brett,

    I see that the very first question posted was regarding multiple template usage. Multiple group is now possible but could you give us a hint on how to get multiple templates to work?

    Something like,

    [simple-staff-list group="Robots" template="rule"]



  2. brettshumaker
    Plugin Author

    Posted 2 years ago #

    I'm still working out how I'd like to implement the user interface for this aspect of the plugin. I've been very busy with my job lately and haven't been able to devote as much time to SSL as I would like.

    You'd have to add a new text area to _inc/admin-views.php and then save that as an option. Then, in _inc/user-view-show-staff-list.php you'd need to extract the 'template' argument from the shortcode and then grab the correct option based on that value.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Staff List
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.