I am aware there are two or three ChatGPT-related threads on the forum. However, I wanted to make this one separate, to highlight and share random tools and things we create using the AI. Especially for non-coders using it to create neat little things for business, productivity and so on.
While I love a nice funny AI story about space mice in tuxedos speaking in a Swahili accent, this isn't really intended for those. This is intended to share ideas and creation tips. As well as what we've created ourselves or are working on.
For instance, I'm advanced in creating websites in Wordpress. However, at this time, I don't write code beyond basic CSS, PHP and HTML. I just never bothered delving into writing code, even though I've been making websites since 2004. Sometimes when I need a little feature and can't find it as an existing WP plugin, I've had to hire people to create them. ChatGPT can minimize that, for basic functionality plugins.
Here is a very basic example I created with it:
Merry Christmas Plugin: I asked the AI to write a simple plugin that displays a "Merry Christmas!" label under WooCommerce product titles, on the product page only. I asked it to display this label every year, between Dec. 20th and Dec. 25th. I had it style it with white text on a red background, with curved corners.
With this, you can set and forget it on your WooCommerce site. Annually, it will wish your customers Merry Christmas, during that time frame. Screenshot of it in action. Again, very basic, but serves a purpose.
Creating and implementing a WP plugin is actually pretty simple, if you have working code. So I'll provide steps specific to Wordpress, if anyone with access to a WP installation wants to play around with it.
1. Generate the code in chatGPT.
2. Paste it into Wordpad, notepad or any text editor on your computer. Feel free to edit the plugin author name and stuff at the top of the code.
3. Save the document as a .PHP file. To do this, in most cases, you MUST add quotes to the file name, to save it as php.
So type it in this format, "awesome plugin.php" <- You must add that .php at the end, and the quotes must be there. Click enter, to save.
4. You need to have Winrar, Winzip or any archiving software on your computer for this step.
If you do, right-click the .php file, click "send to" and click "compressed (zipped) folder." If you don't have Winrar, it's a free program.
5. When you have your zipped file, go to your WP plugins page and click "Add New"
6. Click Upload Plugin
7. Click "Browse" to upload it from your computer and click "Install Now."
8. Activate the plugin.
If the code is good, it will be successfully installed, and you'll see it in your plugin list. Otherwise, you'll get an error message saying it can't be installed. It will tell you why. Usually, it's because there's a missing closing quote in the code. You can ask chatgpt to fix the code.
You can also create browser productivity scripts implemented using Greasemonkey for Firefox or Tampermonkey for Chrome. I'll provide details on that in another post.
So what have you guys created or tinkering with so far? I'm working on a few things like a live map annotation tool as well, for WP.
I've attached the Merry Christmas Plugin, if anyone feels like checking it out or trying it.
It is clean, but @MJ DeMarco feel free to remove the plugin, if you prefer.
While I love a nice funny AI story about space mice in tuxedos speaking in a Swahili accent, this isn't really intended for those. This is intended to share ideas and creation tips. As well as what we've created ourselves or are working on.
For instance, I'm advanced in creating websites in Wordpress. However, at this time, I don't write code beyond basic CSS, PHP and HTML. I just never bothered delving into writing code, even though I've been making websites since 2004. Sometimes when I need a little feature and can't find it as an existing WP plugin, I've had to hire people to create them. ChatGPT can minimize that, for basic functionality plugins.
Here is a very basic example I created with it:
Merry Christmas Plugin: I asked the AI to write a simple plugin that displays a "Merry Christmas!" label under WooCommerce product titles, on the product page only. I asked it to display this label every year, between Dec. 20th and Dec. 25th. I had it style it with white text on a red background, with curved corners.
With this, you can set and forget it on your WooCommerce site. Annually, it will wish your customers Merry Christmas, during that time frame. Screenshot of it in action. Again, very basic, but serves a purpose.
Creating and implementing a WP plugin is actually pretty simple, if you have working code. So I'll provide steps specific to Wordpress, if anyone with access to a WP installation wants to play around with it.
1. Generate the code in chatGPT.
2. Paste it into Wordpad, notepad or any text editor on your computer. Feel free to edit the plugin author name and stuff at the top of the code.
3. Save the document as a .PHP file. To do this, in most cases, you MUST add quotes to the file name, to save it as php.
So type it in this format, "awesome plugin.php" <- You must add that .php at the end, and the quotes must be there. Click enter, to save.
4. You need to have Winrar, Winzip or any archiving software on your computer for this step.
If you do, right-click the .php file, click "send to" and click "compressed (zipped) folder." If you don't have Winrar, it's a free program.
5. When you have your zipped file, go to your WP plugins page and click "Add New"
6. Click Upload Plugin
7. Click "Browse" to upload it from your computer and click "Install Now."
8. Activate the plugin.
If the code is good, it will be successfully installed, and you'll see it in your plugin list. Otherwise, you'll get an error message saying it can't be installed. It will tell you why. Usually, it's because there's a missing closing quote in the code. You can ask chatgpt to fix the code.
You can also create browser productivity scripts implemented using Greasemonkey for Firefox or Tampermonkey for Chrome. I'll provide details on that in another post.
So what have you guys created or tinkering with so far? I'm working on a few things like a live map annotation tool as well, for WP.
I've attached the Merry Christmas Plugin, if anyone feels like checking it out or trying it.
It is clean, but @MJ DeMarco feel free to remove the plugin, if you prefer.
Dislike ads? Remove them and support the forum:
Subscribe to Fastlane Insiders.