Display div based on Group metabox selection [closed]
It’s unclear from your question what the actual problem is; on a hunch, should it be this: if ( ! empty( $entries[ $key ][‘newblock_url’] ) ) : … instead of: if ( get_post_meta( $post->ID, ‘newblock_url’, true ) ) :