Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create has_author conditional #31

Open
jonathanstegall opened this issue Feb 3, 2020 · 0 comments
Open

Create has_author conditional #31

jonathanstegall opened this issue Feb 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@jonathanstegall
Copy link
Member

It doesn't have to happen for this initial new version, but I'd like to support a has_author conditional. With it, we would supply a parameter of one or more authors that exist via the Co-Authors plugin, and the conditional would check against the authors of the current post to see if there was a match. Basically the same as the already existing has_category conditional.

This only needs to run on single posts, or other content types that use Co-Authors. We already have the ability to check is_author for author archives.

@jonathanstegall jonathanstegall added the enhancement New feature or request label Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant