Title: Custom Template Issues
Last modified: August 24, 2016

---

# Custom Template Issues

 *  [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/)
 * So we recently upgraded the plugin. We’ve had it in use for quite some time. 
   Our custom code no longer works. There doesn’t seem to be a deep explanation 
   on how to setup the custom template. This is what we currently have in the custom
   code section.
 * [staff_loop]
    <div class=”staff-member”> [photo] [name_header] <h4>[position]
   </h4> [bio_paragraph] </div> [/staff_loop]
 * [https://wordpress.org/plugins/staff-directory/](https://wordpress.org/plugins/staff-directory/)

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

 *  Thread Starter [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155094)
 * I figured this out. Apparently, upon upgrade the category ids changed.
 *  Thread Starter [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155098)
 * One more note on the template conversation. Any way to stop it from adding a 
   paragraph to the “bio paragraph” when it pull that in? I’ve got lists in there
   for the team members and it doesn’t work well to have that in that wrapping the
   UL that’s being brought in.
 *  Plugin Author [adamtootle](https://wordpress.org/support/users/adamtootle/)
 * (@adamtootle)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155133)
 * You can use the `[bio]` template shortcode, which just uses the content straight
   from the editor for a staff member. The `[bio_paragraph]` shortcode is basically
   just `[bio]` with `<p>` tags around it.
 *  Thread Starter [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155225)
 * Thanks. One more quick question. Would there be a possibility to be able to create
   templates at the Category level? Or have multiple templates and be able to select
   one at the category level?
 * The reason I ask is that we are looking at using this on a site where we have
   different “groups” of people we’re showing. Some might have more detailed profiles
   that we’d want to link to, while other categories would not.
 *  Plugin Author [adamtootle](https://wordpress.org/support/users/adamtootle/)
 * (@adamtootle)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155231)
 * That’s definitely doable. I’d have to think about how to pull it off. My first
   inclination would be to add it as a parameter to the shortcode, something like`[
   staff-directory cat=3 template=2]`. That way you could use multiple shortcodes/
   templates on a single page.
 * Let me think about that and I may shoot to get it added in a few days. I’m currently
   working on a TinyMCE button that would allow users to generate a shortcode a 
   little easier without having to know the available options. If I can get this
   done quick enough I’ll add it into that update.
 *  Thread Starter [weslinda](https://wordpress.org/support/users/weslinda/)
 * (@weslinda)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155239)
 * Really appreciate you jumping back into the plugin and making an effort. Thanks.
 *  Plugin Author [adamtootle](https://wordpress.org/support/users/adamtootle/)
 * (@adamtootle)
 * [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155264)
 * No problem!
 * Ok I added support for custom templates in the 1.0.0 release. Try that out and
   let me know if it works for you. There’s also a new TinyMCE button to generate
   a [staff-directory] shortcode with options. That button will allow you to select
   a custom template that will override the default.

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

The topic ‘Custom Template Issues’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/staff-directory_a19d9e.svg)
 * [Staff Directory](https://wordpress.org/plugins/staff-directory/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/staff-directory/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/staff-directory/)
 * [Active Topics](https://wordpress.org/support/plugin/staff-directory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/staff-directory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/staff-directory/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [adamtootle](https://wordpress.org/support/users/adamtootle/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/custom-template-issues/#post-6155264)
 * Status: not resolved