Passer la navigation

[Closed] Custom User Role

This support ticket is created Il y a 1 year, 7 months. 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.

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Nigel Il y a 1 year, 7 months.

Auteur
Publications
#2698746

There is a post type called "pages" on my WordPress website. I want to create a custom role which has the access to create/edit/delete pages that match the following URL Pattern only:

dev.yssofindia.org/ashrams/...

How to create it?

Thanks!

#2698752

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi there

You can use Access to create a custom role, and you can set permissions for that role with respect to Pages generally, but it is not possible to grant permissions only for pages that are descendants of a top-level page "ashrams".

For that you would need to use custom code, using the WordPress API, there isn't anything particular from Toolset that can help in this scenario.

You may need to recruit a developer to help if that's not something you are able to do yourself (as this isn't really related to Toolset any developer who is familiar with WordPress should be able to help).

The topic ‘[Closed] Custom User Role’ is closed to new replies.