Thanks for your fast reply! Yes it’s a project for a client with specific requirements. I agree that a usual theme for end users always makes use of the_content()
. I’m just used to other plugins outputting their relevant code in wp_head()
. I think it also makes sense, because you can put the shortcode at any place, in my case the footer. Another option could be outputting it with the shortcode as well.