WordPress-列出特定用户的清单
我正在研究一个高级主题,其中我的用户类型不同(成员,伴游,代理机构)。我想通过这些用户的列表为每个类别制作一个页面。我不知道从哪里开始。我在哪里可以找到此类别的sl。这应该是起点。
I'm working on a premiumpress theme where i have differents users type ( members, escorts, agencies ). I'd like to make a page for each category with a listing of these users. I don't know where to start. Where can i find the slug for this categories? It should be the starting point.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
首先,您必须使用:
然后在模板中创建THEDE文件:
对于作者,层次结构相当简单。模板层次结构指定WordPress使用以下列表中查找当前主题目录中找到的第一个模板文件:
first you must use:
then create thede files in your template:
In the case of authors, the hierarchy is fairly simple. The Template Hierarchy specifies that WordPress uses the first Template file it finds in your current Theme's directory from the following list: