Print shortcode in custom action hook not where the shortcode is entered
I think I’d use a meta box: // create the meta box function dht_box() { add_meta_box( ‘dht_box’, // id, used as the html id att __( ‘Do Header Thing’ ), // meta box title ‘dht_cb’, // callback function, spits out the content ‘post’ // post type or page. This adds to posts only ); } … Read more