[ad_1]
I’m trying to add checkboxes to a post, however I need to be the only one who can check the boxes. When published visitors cannot check the boxes, but they can see them. If that makes sense. I’m wondering if there’s an easy way to do this. Any help would be greatly appreciated.
[ad_2]
Ticking a checkbox doesn’t do anything anyway. What are you trying to achieve?
One thing that comes to mind is make the pointer-events of the checkbox set to none, and then create a CSS file with pointer-events set to all; you could then enqueue that file to display for logged in admin users only. There might be a less convoluted way of doing it though.
I have got very close to my end goal using Ninja Tables plugin, however it seems like I have to pay just to have the option to disable checkboxes for visitors. I’m not really prepared to do that at the moment.