Hello There,
I am another staff checking in. There seems to be a problem with your site. I cannot check it.
We apologize for the confusion. Please understand that any code given in the forum is tailored according to one’s site. It may or may not work for the other depending on the site settings. The featured box by default does not offer a link feature for the image, icon or the title. We have designed it to have the link at the end of the text description. We know that we have given a solution in this thread: https://theme.co/apex/forum/t/code-snippet-add-a-link-to-feature-boxes/273 for the featured box to behave differently.
The code given may only work if you have only one featured box. It will cease to function when you have more than two featured boxes using only one ID. Keep in mind that an element ID must be unique so what you need to do is to add a custom linked-featured-box
class instead and modify the JS code into this:
jQuery ( function( $ ) {
$('.linked-feature-box .x-feature-box-text a:last-child').each( function() {
$( this ).parent().parent().parent().find('.x-feature-box-graphic-inner img').wrap( '<a href="' + $( this ).attr('href') + '"></a>' );
$( this ).remove();
} );
} );
I wish to check your implement and the way you have applied the ID in each of your featured boxes. Please resolve the error 500 first so that we can view the site and check your featured boxes and your code.
Thank you for your understanding.