admin管理员组文章数量:1125586
I am quite new at WordPress and sitebuilding in general but I have built a site that I am pleased with.
We are working with companies in four different countries and I want my customers to be able to create their own accounts on the site so they can log in and see files that are not available for non-logged in visitors.
I have used the Ultimate Member plug in for the registration and log in pages, but we have different files we want to be seen depending what country the user is based in.
I have used the "Role ID" to be able to handle this.
After that I have tried to redirect from one page to another depending on what "Role ID" the one who clicks on the button has. But this works quite bad, it redirects to the wrong page more often than not...
Could anyone please help a newbie out here?
Thanks!
本文标签: pluginsShow different page depending on user role
版权声明:本文标题:plugins - Show different page depending on user role 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736669344a1946831.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论