Remove link from post thumbnail (or any image)
<?php wp_enqueue_script('jquery'); ?> <script> jQuery(function() { jQuery("a.post-thumbnail ").removeAttr("href"); }); </script>