WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. malyo
    Member
    Posted 8 months ago #

    Hello,

    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).

    http://wordpress.org/plugins/our-team-by-woothemes/

  2. Amber
    Member
    Posted 7 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic