Rookie question about websites #2
-
I have zero knowledge of programming. I'm making a website for test/fun(it's an online shop with canvases) and I'm wondering if there are possibilities to test this on the website or if there would be too many changes in the code to do so. Just a loose question, I don't want to make anyone angry if I'm disrespectful, to ask this I'm sorry. The website is on WordPress |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi there @TheFogy, welcome! This OpenAI API Client is written for PHP applications, so it could be used in a WordPress-built website because WordPress runs on PHP. I presume you are using WooCommerce for the online store portion of your website? You would likely need to build a WordPress plugin that would implement querying the OpenAI API. Here is some information on developing a WordPress plugin: https://developer.wordpress.org/plugins/ That step would require writing PHP code, and bundling the I hope that helps! James |
Beta Was this translation helpful? Give feedback.
Hi there @TheFogy, welcome!
This OpenAI API Client is written for PHP applications, so it could be used in a WordPress-built website because WordPress runs on PHP.
I presume you are using WooCommerce for the online store portion of your website?
You would likely need to build a WordPress plugin that would implement querying the OpenAI API. Here is some information on developing a WordPress plugin:
https://developer.wordpress.org/plugins/
That step would require writing PHP code, and bundling the
tectalic/openai
client within your custom WordPress plugin.I hope that helps!
James
Tectalic