Home › Forums › Pro Support › custom link or none? › Reply To: custom link or none?
January 23, 2017 at 7:31 am
#1490
Participant
Another method: If you want to remove the links from a list, you can include a jquery in the header.php of you child theme.
<script>
jQuery(document).ready(function(){
var pTags = jQuery( ".home section#wpsp-65 article div.wp-show-posts-inner div.wp-show-posts-image a img,.home section#wpsp-11 article div.wp-show-posts-inner div.wp-show-posts-image a img,.home section#wpsp-50 article div.wp-show-posts-inner div.wp-show-posts-image a img" );
if ( pTags.parent().is( "a" ) ) {
pTags.unwrap();
}
});
</script>