Hide a CPT from specific pages

I assume your page name is subscribe
for Jquery code you have to specifiy pathname not whole wp url ;

jQuery(document).ready(function($) {
if (window.location.pathname == "/theme/subscribe/") {
 document.getElementsByClassName("subscribe").style.display="none";
      } 
 });

in php code here is same example using page name or slug ;

<?php if(!is_page('subscribe') ) { ?>
 <style>.subscribe-content{display: none!important;}</style> 
    <?php } ?>

You can use arry to add more than one page
if(!is_page(array(6677,613) )

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)