Displaying custom post types in author.php
I’ll guess that you don’t set $authorid anywhere, so it’s being ignored and returning all posts regardless of author. If you enable debugging, you’ll get a warning telling you that $authorid is undefined. It’s good practice to always develop with debugging enabled, so you don’t have to guess what your errors are. Also, don’t use … Read more