In the team-shortcodes.php file – line 265 is this line of code: $output .= '<li><a href="#slider-member' . ++$member_count . '">' . $name . '</a></li>';
Can you help me? I need to add the image associated with the member in this list. In fact what I really want is to have 2 images associated with a member in the array, one for the list and the one that shows after you click the list.
Ok, If I had to guess how to add an image with the link – this would be it. $output .= '<li><a href="#slider-member' . ++$member_count . '"><img src= "#slider-member' . ++$member_count . $photoUrl'' . $name . '</img></a></li>';
I have no idea what the variable name is – or even if there is one, I chose $photoUrl.
Can this be explained without saying that it is too complex to code modifications
I am not sure what you meant by $photoURL here or how you are initializing it but you need to call the method mo_thumbnail() to display the image. There are quite a few examples of this in the theme source code and in the team-shortcodes.php file as well.
Author
Posts
Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Agile Theme Support’ is closed to new topics and replies.