Jump to content

Record the wordpress user to a table and retrieve it on another page

Recommended Posts

Hi Gurus,
I have a business directory with several datapages deployed in Wordpress 5.23. I was wondering if I can get the wordpress user that is logged in and save it to a table.  When a user of my business directory want to add some articles to his company information, I want to match the user in wordpress with the user in caspio. I think I can do that with Javascript. Or not?  

after that, when I display the company information, I want to display also the wordpress posts related to that company, so I need to retrieve the wordpress user name and add to the shortcode of the plugin that shows the posts.

Thank you for any help.


Link to comment
Share on other sites

  • 2 weeks later...

I think I can do this using rest API. But I have no programming and caspio api help is useless as they don't have a step by step for me to learn how to use the API. I was able to authenticate using a chrome rest client extension. but  then, what do I do? where do I put the code in wordpress? how do I call it? how do I code it? there are no examples for dummies there.


thank you for any help

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...