', $number_indents); if(isset($val['only_home'])){ if($val['only_home']==1){ $url = "'".get_home_url()."'"; }else{ $url ='document.location.href'; } }else{ $url ='document.location.href';} echo ""; } add_action( 'wp_head', 'add_link_yrokiwp_js' );