• Resolved upflowzajayden

    (@upflowzajayden)


    Hi

    I have around 500 posts on my site. I have tried to bulk edit their access roles (_members_access_role) by using WP All Import and by editing the custom field. However, it appears to not have any effect. If I do edit it manually, it will then work and only show the content to members.

    If we try import, the _members_access_role field for a post will show “administrator|member” (the relevant roles for us), but members still cannot access. And on the post editor, the checkboxes are left unchecked. On the frontend, members cannot access, and neither can subscribers and non-logged in users. I can access as I have the restrict_content permission.

    If we do it manually after the import has run, the _members_access_role will show value “administrator|member|administrator|member” and it will then work and members will have access. On the post editor, the relevant checkboxes will be ticked.

    On the backend, after the import has run, the checkboxes won’t be checked (despite the value for the field being administrator|member)

    I can’t figure out why this is happening, and would really appreciate your input.

    Thanks in advance

Viewing 1 replies (of 1 total)
  • Thread Starter upflowzajayden

    (@upflowzajayden)

    We have managed to solve this. Just posting some feedback here in case anyone experiences something similar.

    We managed to solve this by serialising the input in WP All Import. So our string in the _members_access_role field looked like this:

    a:2:{i:0;s:13:”administrator”;i:1;s:6:”member”;}

Viewing 1 replies (of 1 total)

The topic ‘Bulk Edit Access Roles’ is closed to new replies.