Edit Email Field/label
-
Hello,
I would like to know if it is possible to change the Email field.
Now it is: ‘Email Name Surname’
I’d like to output just: ‘Email’ – of course with the hyperlink.I’ve seen how to modify the template through:
add_filter( 'woothemes_our_team_item_template', 'new_team_member_template' ); function new_team_member_template( $tpl ) { $tpl = '<div itemscope itemtype="https://schema.org/Person" class="%%CLASS%%">%%TITLE%% %%AVATAR%% <div id="team-member-%%ID%%" class="team-member-text" itemprop="description">%%TEXT%% %%AUTHOR%%</div></div>'; return $tpl; }
But how can I change the text inside
%%AUTHOR%%
?
Is it possible to apply a filter to the code in line 386?if ( '' != $tel && apply_filters( 'woothemes_our_team_member_contact_email', true ) ) { $member_fields .= '<li class="our-team-contact-email" itemprop="email"><a href="mailto:' . $contact_email . '">' . __( 'Email ', 'our-team-by-woothemes' ) . get_the_title() . '</a></li>'; }
Thanks in advance for the help.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Edit Email Field/label’ is closed to new replies.