Our Team by WooThemes
Team Member Page - chose theme template (2 posts)

  1. malyo
    Posted 2 years ago #


    Simple problem i hope. When i click "visit team member", the plugin loads by default a wordprees "single.php" template. There's no option in admin to change the template, so anyone has idea how to do it? (I have specific template for sub-pages that i'm using).


  2. Amber
    Posted 2 years ago #

    Just to be sure, you're talking about the style for the post of individual members, right (i.e. team-member/joe)?

    If so, the plugin itself doesn't load a "single.php" file, that file is coming directly from your theme.

    For single posts WordPress will check for the following files in your themes directory: single-{post-type}.php > single.php > index.php

    Since there is likely no single-{post-type}.php file in your theme related to this plugin, WordPress is using the default single.php to style those individual team member posts.

    If you want change the layout of the team member posts (i.e team-member/joe) you would need to create a single-{post-type}.php file. The easiest way to do this is to duplicate your theme's existing single.php file and then rename it to single-team-member.php (team-member being the "Our Team" plugin post type).

    Edit the single-team-member.php file you created to use the layout structure you want. Save and upload this file to your theme/child theme directory and you should be good to go.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Our Team by WooThemes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic