简体   繁体   English

如何在WOffice主题wordpress主题中获取活动用户数据库表

[英]How to get active user database table in WOffice theme wordpress theme

I am using WordPress for my website with woffice theme. 我在以woffice为主题的网站上使用WordPress。 I am developing an android app for the above website. 我正在为上述网站开发一个android应用程序。 It is required to get database of active user with last login detail. 需要获得具有上次登录详细信息的活动用户的数据库。 If someone know how to display the active user list, please help me. 如果有人知道如何显示活动用户列表,请帮助我。 Thank you in advance. 先感谢您。

If you want to get these informations in the frontend, you can try to use a plugin like : https://wpdatatables.com/ 如果您想在前端获取这些信息,可以尝试使用如下插件: https : //wpdatatables.com/

With this plugin, you can easily add a result from a query from your database (Source : https://wpdatatables.com/documentation/creating-new-wpdatatables-with-table-constructor/generating-wordpress-db-queries-with-table-constructor/ ) 使用此插件,您可以轻松地从数据库查询中添加结果(来源: https : //wpdatatables.com/documentation/creating-new-wpdatatables-with-table-constructor/generating-wordpress-db-queries-with -table-constructor /

It is possible to get the posts or texts of the page by using json api like Ideapress api plugin in wordpress. 可以通过使用json api(例如wordpress中的Ideapress api插件)来获取页面的帖子或文本。 And retrieving the json response in android app. 并在android应用中检索json响应。 Thank you for every one who helped me to get the answer. 感谢所有帮助我获得答案的人。 I hope, this answer could help others. 我希望这个答案可以帮助其他人。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM