We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support custom link or none? Reply To: custom link or none?

#1760
Alexander Seboe
Participant
<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, .page section#wpsp-247 article div.wp-show-posts-inner div.wp-show-posts-image a img" );
            if ( pTags.parent().is( "a" ) ) {
                pTags.unwrap();
              }
            var tTags = jQuery( ".page-id-255 div#page div#content div#primary main#main div#generate-section-2 div.generate-sections-inside-container section#wpsp-247 article div.wp-show-posts-inner header.wp-show-posts-entry-header h2 a" );
            if ( tTags.is( "a" ) ) {
                tTags.contents().unwrap(); 
              }  
        });
    </script>

Now it removes both header text link and image link