• Resolved robaxxx

    (@robaxxx)


    Hi there

    In WP 5.8 they’ve messed up the widget editing by making it blocks-only. This means that some of the older widget display-by-role plugins can’t be configured unless one uses the Classic Widgets plugin to revert the system back again to the old method.

    I would rather keep the new block system because it is the way they’re going to do it in future. So in order to edit display-by-role permissions I’ve tested the Block Permissions plugin on block widgets, but it doesn’t quite work.

    I can insert the Block Permissions as a widget and insert another block inside it, but when I save, it throws an error “The response is not a valid JSON response”.

    I thought I’d check here and see if it’s something you can make work? It would be a great fix for the whole problem if it could be made to work.

    Regards
    Rob

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

    (@meceware)

    Hi,

    > I can insert the Block Permissions as a widget and insert another block inside it, but when I save, it throws an error “The response is not a valid JSON response”.

    I just tried adding different blocks with different settings and I don’t see such error while saving the page. I suspect it might be because of the block. Can you try adding simple blocks or can you tell the block you are trying to insert in Block Permissions block?

    Thread Starter robaxxx

    (@robaxxx)

    Thanks for checking this.

    I’ve just tried it again and discovered that the error is generated simply by trying to save anything on the widgets page. Something has broken on my site and on my development copy the same. I’ll research that now and then test this again.

    I’m glad to hear it works in any case.
    Regards
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Permissions for Block Widgets’ is closed to new replies.