Hey Andy,
I have a Member’s Only page with password access that I control with the Restricted Content Control code.
One of the tabs on that page has a series of blocks containing tables (using WordPress Table Builder) with committee members and their emails.
My problem is this: It seems the scope of the restricted type declaration does not encompass all the blocks between the declaration and the [/church admin] SC. Thus, if I put the restricted declaration at the top of the page and the closing code at the bottom, I get the login form followed by the restricted content, which is not what I want.
The workaround would be to place the “restricted” declaration and the closing CR inside each block of the page. Unfortunately, then each block appears with the login form, and I get a mass of login forms on the page, which looks awful.
What I would like to do is show the login form once, then just use more short codes to hide the rest of the blocks. Is it possible to use the “restricted” declaration without instantiating the login form? Conversely, is it possible to have the scope of the restricted declaration span multiple blocks?
To see what I mean, you can look at https://menno.org/main-page/members-only/#1644989656702-b1a6db7e-787f
Regards,
Alan Hilton-Nickel
First Mennonite Church of San Francisco