Allow HTML in Custom Metabox area
I fixed your input type/sanitization and escaping issues. I think there’s still some cleanup that could be done with this code though. I see inputs without labels, invalid attributes, etc. add_action( ‘add_meta_boxes_post’, function ( $post ) { if ( $post->_wp_page_template === ‘page-templates/skyscraper-post.php’ ) { add_meta_box( ‘sky_post_excerpt’, ‘SkyScraper Post Excerpt and Links’, ‘sky_post_excerpts’, ‘post’, ‘advanced’, ‘high’ … Read more