WordPress.org

Ready to get started?Download WordPress

Forums

Our Team by WooThemes
Move Featured Image Below Title (3 posts)

  1. ashhunt75
    Member
    Posted 7 months ago #

    Just wondering how I move the featured image below the Title. At the moment the title is below the image. It could be theme related, any pointers would be great.

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

  2. Amber
    Member
    Posted 7 months ago #

    Nope, not theme related; it's all from the plugin.

    You can move the title (name/title) above the avatar/featured image by placing the following code snippet in your theme functions.php:

    add_filter( 'woothemes_our_team_item_template', 'new_team_member_template' );
    function new_team_member_template( $tpl ) {
    	$tpl = '<div itemscope itemtype="http://schema.org/Person" class="%%CLASS%%">%%TITLE%% %%AVATAR%% <div id="team-member-%%ID%%"  class="team-member-text" itemprop="description">%%TEXT%% %%AUTHOR%%</div></div>';
        return $tpl;
    }
  3. ashhunt75
    Member
    Posted 7 months ago #

    Great, thanks Amber worked a treat.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.