WordPress.org

Ready to get started?Download WordPress

Forums

Simple Staff List
Revisiting Multiple templates (2 posts)

  1. ckone
    Member
    Posted 1 year 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"]

    Thanks!

    http://wordpress.org/extend/plugins/simple-staff-list/

  2. Brett Shumaker
    Member
    Plugin Author

    Posted 1 year 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

About this Topic

Tags

No tags yet.