-
-
in my team carousel the team member description snippet shows but nothing links to the full page for the team memeber to read more. is that how the carousel is designed or should there be a link?
-
Hello,
Please go to file vc_templates/staff.php and find these lines:
$output .= '<div class="content">'; $output .= '<h5>'.esc_html(get_the_title()).'</h5>'; $output .= '<span class="position">'.esc_attr($position).'</span>'; $output .= '<p>'.codeless_text_limit(get_the_excerpt(), 25).'</p>'; $output .= '</div>';
Replace this line:
$output .= '<h5>'.esc_html(get_the_title()).'</h5>';
with this:$output .= '<a href="'.get_permalink().'"><h5>'.esc_html(get_the_title()).'</h5></a>';
Save file. Let us know.Best regards!
-
Viewing 1 reply thread
You must be logged in to reply to this topic.