If your WordPress site utilizes both Co-Authors Plus and Yoast, you may be aware that the two plugins don't fully integrate with eachother. The PHP code below fixes the following issues:
- When viewing a Co-Author's page, Yoast's author name (
%%name%%
) meta tag template variables will properly show the Co-Author's name. - When viewing a Co-Author's page, Yoast's breadcrumb trail will properly show the Co-Author's name.
Simply drop the code below into your theme's functions.php
file.