Wrapping an element with a href

I was trying all the team boxes, I’ve done with feature boxes and icons, and I tried to do with this so I can link person to another page.

I had added this jquery and this CCS and an ID of Art to the first photo.

CSS
/* link bios*/
$("#art").wrap(’<a href="https://bramshillinvestments.com/team-biographies#art-degaetano>’);

in JS
jQuery( document ).ready( function($){
$(".class-on-item-around-mg-teammembers-item").each( function( ) {
var link_value = jQuery(this).find(".x-btn").attr(“href”);
var link_element = ‘’;
jQuery(this).find(’.mg-teammembers-item’).wrap(link_element);
});
}):

Hi There,

Thank you for writing in, you’re using this plugin, right? (Team Members for Cornerstone), regretfully, we cannot provide support for third-party plugins or scripts due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X/Cornerstone will need to be directed to the original developer.

You can contact their support through this email support@magnigenie.com

What I can advise is to utilise the Promo shortcode, wrapped it with an anchor tag.

e.g.
<a href="https://www.google.com">[x_promo image="IMAGE URL HERE" alt="IMAGE ALT" class="promo-link"]SOME TEXT CONTENT HERE[/x_promo]</a>
It looks somethings like this but clickable.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.