Skip Navigation

[Resolved] Access redirect for what to display selection not working as expected

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 7 years ago.

Assisted by: Christian Cox.

Author
Posts
#599437

I am trying to:
Use Access Post Group to redirect when access is denied.

1) Created role "Member", copied Subscriber.
2) Access Post Types Pages "Managed by Access" checked.
3) Restricted access to other roles as appropriate.
3) Access Post Groups "Individual Pages" group created.
4) Single page "Individual Membership" added to Post Group; only Members should have access.
5) Created Content Template "Content Template for Members Only".
6) Assigned template to Single Pages "Pages"
7) Clicked "read" in the Access Post Group to assign "errors" template to ""Content Template for Members Only""

I expected to see option to assign "Content Template for Members Only" under either "Show Template Layout" or "Show Page Template". I didn't see my template listed anywhere.

Using:
WordPress 4.9.1
Elegant Themes Extra theme

What did I miss?

Thanks much.

#599616

When you have Views, Types and Access, the options for the error templates are: - Default error - Show 404 - page not found - Show Content Template -- list of all existing Content Templates

If you also add Layouts to the above suite, you will be able to choose only from a Layout, Content Templates should not be used in this case. When you add Layouts, the options in Access become: - Default error - Show 404 - page not found - Show Template Layout -- list of all existing Template Layouts.

Hence, the issue you describe is expected. You should either create some layouts (you may call your content templates within them as well), or, if you do not use Layouts, you should disable it in this case.