Linking the Team Member Image to another page
-
I am attempting to link the “our team” images on the home-page to a separate page on the site by using JQuery and a Custom JavaScript plugin.
I have added the following code to the plug-in
$(“#zerif_team-widget-1 img”).wrap(“‘);
The images don’t have ID’s so the next closest unique ID I targeted was the span ID “Zerif_team-widget-1” the images are nested in and than I added the “img” to try to target the img inside the span.
based on feedback I saw in this stack-overflow article: https://stackoverflow.com/questions/2400218/add-link-to-image-dynamically
But when I save it and go to my site it doesn’t fire and I see this error in my console:
Uncaught SyntaxError: Invalid or unexpected token
And it points to the index.php file
Not sure if any of this makes sense, I am fairly new to programming, any help would be appreciated and I really would prefer not to get the paid version if I don’t need it
The page I need help with: [log in to see the link]
- The topic ‘Linking the Team Member Image to another page’ is closed to new replies.