disable member thumbnail link

This topic is: resolved

This topic contains 1 reply, has 2 voices, and was last updated by Raghavendra Raghavendra 5 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3944
    Coneff
    coneff
    Member

    Hi,
    how can I remove link from member thumbnail?

    #3963
    Raghavendra
    Raghavendra
    Moderator
    Post count: 4614

    You will need to modify the file {theme directory}/framework/shortcodes/team-shortcodes.php file at line number 87 to this –

    mo_thumbnail(array('before_html' => '', 'after_html' => '', 'image_size' => 'square', 'image_class' => 'photo_frame', 'wrapper' => false, 'image_alt' => $image_alt, 'size' => 'full'));
    

    I just specified a before_html and after_html attribute value to remove the link. You can also copy this function mo_get_team_content() to your child theme functions.php to override the existing one(makes the change permanent with no upgrade issues).

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.