Thank you for answer, but what about
When the user in role Teachers clicked on link
hidden link
I should to show him another templates as usual.
On the page hidden link
i make this, but plugin don`t redirect users!
The problem page "Mini lessons":
hidden link
in section "Access group", you have setup it as "Premium permissions will be applied to this post."
In your access settings:
hidden link
The user group "Premium", for user role "Subscriber Teachers", you setup it as display the theme file "PHP Template: login required basic"
Then I edited the theme file "my-loginrequired.php", add a line in it:
echo 'this is using theme file "my-loginrequired.php"';
hidden link
And use the wordpress account Teachers (user: test, pwd -
987asd)
Open the problem URL:
hidden link
It does display the string in theme file 'this is using theme file "my-loginrequired.php"'
Please check again, what do you want it display when use a teacher account?
Ans since your original question is resolved, I suggest you create another thread for new questions. thanks
Hi Luo,
thanks for the help, i create new thread for my questions.
https://toolset.com/forums/topic/i-can-not-show-layout-in-my-login-required-php-template/
can you take it in work?