Hi @awadethomas,
To open a specific card link in new tab, just assign a unique class to that card element e.g custom-card
and then replace your previous code with the following code:
jQuery(document).ready(function($){
$('div[data-x-element="card"]').each(function(){
var btn_link = $(this).find('.x-face-button').attr('href');
if ( $(this).hasClass('custom-card') ) {
$(this).wrapInner('<a href="'+ btn_link +'" target="_blank"></a>');
}
else {
$(this).wrapInner('<a href="'+ btn_link +'"></a>');
}
});
});
Don’t forget to clear all caches including your browser’s cache after adding the code.
@Kev We’re glad we could help.
Cheers!