Is there any way to make a custom field for a post only if the author is a certain user?

In short, when editing a post, if the author is set to say... user ID #47... I want another text field to come up to add

In short, when editing a post, if the author is set to say... user ID #47... I want another text field to come up to add to the post meta for this post.

I have ACF Pro, but I'm not seeing that as an option with it.

If it matters and if there's another solution... the issue is that occasionally posts will have authors who aren't WP Users, and we want one user to encompass them all, but have a text field for the author's name.

In short, when editing a post, if the author is set to say... user ID #47... I want another text field to come up to add to the post meta for this post.

I have ACF Pro, but I'm not seeing that as an option with it.

If it matters and if there's another solution... the issue is that occasionally posts will have authors who aren't WP Users, and we want one user to encompass them all, but have a text field for the author's name.

Share Improve this question asked Jun 18, 2020 at 2:08 Dan GoodspeedDan Goodspeed 1013 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This is what You are looking for

https://www.advancedcustomfields/resources/custom-location-rules/

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742338432a4425127.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信