• Hi,
    I have imported to the groups-read custom field (via WP All Import) to assign read permissions of a page to multiple groups. The import creates the custom fields as required e.g.
    groups-read – value 8
    groups-read – value 2
    etc
    On the Dashboard > Pages page, it shows the Groups each page is assigned to, including where there is multiple groups.
    When I open/edit the page, it only shows one Group in the Read field in the top right of the page? The custom fields are showing correctly down below and I can see the values in the WP_postmeta assigned to each page.
    I am wondering if you know why this would be?
    Many thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kento

    (@proaktion)

    Hi,

    Have you checked that all groups that have been imported in this way exist? In the example you have given, you would have to make sure that both groups with ID 8 and 2 exist under Groups > Groups.

    Does the user account you are using to edit the pages have admin rights? If not, it would have to be added to the groups to be able to use them.

    You probably have seen it already, the documentation page Posts, Pages and Others might help.

    Thread Starter gvnet

    (@gvnet)

    Thanks for the prompt reply. I did create the Groups first, then manually assigned some Groups to a page using the Groups box. I then exported that page to get the correct format, including checking the database to t=see the values stored in the groups-read custom fields.

    I then imported using the ID value of the Groups, assigning them to the various pages to create the groups-read > value = 2 etc custom fields.

    Out of interest, if I edit a page that I had imported to, I could see the custom fields in the custom fields section but if I Update the page, the custom fields all disappear completely?

    It seems that if the Read permissions are not assigned via the Groups box in the top right, they will not be saved and applied correctly, even if the values are saved to the wp_postmeta database during import.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Import groups-read to pages’ is closed to new replies.