Inject code in the header of my template
However, I won’t be able to find the author name before entering in the loop? This isn’t completely correct. The global variable $post is set by WP_Query before the Loop begins and is set to the first post in the Loop. Since the main query runs before the template loads that means that $post is … Read more