Hi there,
Iāve added the shortcode youāve provided in other solutions to my functions.php in my child theme,
function add_author() {
if(is_singular(āpostā)) {
echo do_shortcode(ā[author title=āAbout the Authorā]ā);
}
}
add_action( āx_before_the_content_beginā, āadd_authorā, 10 );
But that code doesnāt seem to appear on my websiteās single blog posts. If I manually add the shortcode to the post itself, the author box will show but i think the above php isnāt firing? Or maybe itās something in my temaplte?
Hereās a blog post example: https://sitecompli2.wpengine.com/blog/new-residential-updates-local-law-55-bedbug-reporting/. It should be appearing after the related articles.
Thanks for any insight!

