AI Generated WordPress Code: The Future of Web Development?

AI Generated WordPress Code: The Future of Web Development?

WPTuts

1 год назад

36,776 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Dr. Vincent Ortega Jr.
Dr. Vincent Ortega Jr. - 28.09.2023 08:09

This looks amazing. Is there any more competitors to this?

Ответить
Kelli Grisez
Kelli Grisez - 15.06.2023 22:56

Thanks so much! I do recommend watching the CodeWP video, very well done. So excited about CodeWP, game changer for a designer like myself!!

Ответить
Rashaad Sallie
Rashaad Sallie - 02.04.2023 07:40

OH MY GOODNESS !! I just asked it to disable all comments and Gutenberg and enable classic editor - No need for plugins

Ответить
Riza Moriza
Riza Moriza - 01.04.2023 14:04

At least tool like this will useful as learning , debug and see how other dev write code for same final outcome

Ответить
Magnano Mac
Magnano Mac - 29.03.2023 14:10

what a time to be alive

Ответить
The United Wings
The United Wings - 28.03.2023 23:50

W😊

Ответить
Brian Ginn
Brian Ginn - 23.03.2023 14:39

Might it do general PHP code as well? Good video.

Ответить
spiralni
spiralni - 21.03.2023 18:21

World is not what used to be 😱

Ответить
Rahees Ahmed
Rahees Ahmed - 20.03.2023 05:59

the link is not working

Ответить
Chima Studios
Chima Studios - 19.03.2023 21:58

Their website is very slow. They need to really upgrade their servers for a better experience :D

Ответить
TheSpidermint
TheSpidermint - 19.03.2023 13:29

Interesting.. I think in time this might prove its worth (pro version), but I really couldn't justify the cost, so chatGPT still has the upper hand IMO. I have tested it fairly extensively with WordPress specific code and the results are comparable and accurate. Asking for filters it actually suggested different hooks to use as well based on requirement, so it's WordPress specific knowledge is good enough. chatGPT is free and as far as I am aware has no generation restrictions.

Ответить
Visualmodo
Visualmodo - 18.03.2023 19:03

Truly good content!!!

Ответить
DarkSeid Gaming
DarkSeid Gaming - 18.03.2023 14:54

This is FAR FAR FAR behind what ChatGPT can do. I've been generating Production ready complex codes from ChatGPT and this tool can't even reach there.

Ответить
Kim's Quizzes
Kim's Quizzes - 18.03.2023 13:50

This is a great tool Paul, I enjoyed your presentation and would add my voice to Ron Nevers in requesting another detailed presentation for the paid version of CodeWP.

Ответить
Webmaster @ HOT
Webmaster @ HOT - 18.03.2023 06:46

This is mind blown. Has anyone used with WooCommerce yet?

Ответить
Christos Montariou
Christos Montariou - 18.03.2023 02:22

Why use this instead of ChatGPT? Is it fine tuned for WP code?

Ответить
MassStash ™
MassStash ™ - 18.03.2023 00:22

anyone try hard coding header/footers with this or something similar? Next thing on my list for optimizing wordpress sites after element or building them out laziness/efficiency haha

Ответить
Mayur Jobanputra
Mayur Jobanputra - 17.03.2023 23:28

This is amazing. I was thinking about building something like myself a few weeks ago!

Ответить
Yasien Sarlie
Yasien Sarlie - 17.03.2023 17:46

Did you do a comparison between Code Snippets Pro, Codebox and Codewp? Which one is the best right now...?

Ответить
Niko Birbilis
Niko Birbilis - 16.03.2023 05:01

The more I develop in WordPress, the more I despise it... Being able to offload work to an AI sounds wonderful

Ответить
고재영
고재영 - 16.03.2023 04:41

좋은정보 감사합니다.

Ответить
Barry G
Barry G - 15.03.2023 16:24

I got ChatGPT two months ago to generate php code for a couple of small plug ins for WP, both worked fine, same with some fairly complicated MS VB macros...scary stuff

Ответить
Sebastian Skórski
Sebastian Skórski - 15.03.2023 11:34

Hi

Nice material, can be strongly useful in difficult situations with programmers 🙃

After generating the needed code and inserting it with Snippets into the page, how then can I place it? In this case, it is a site based on Elementor. Do I need to purchase the pro version of the AI generator and then it will be easier for me to work?

Is there any way I can post the php code entered into Snippets directly?
I am mainly concerned with the contact form that was generated for me from AI.

Greetings from Poland 🙂

Ответить
WP Easy
WP Easy - 15.03.2023 10:06

Wooooah horsie :)
I've been playing with it today and works well for the simple stuff but gets very lost in sightly the more complicated.
When it creates associated JS, it favors jQuery over Native and outputs it with a PHP function.

In all honesty, the PHP I got from my prompt was not usable.

In this case, I got a much better response by being specific in ChatGPT.

However, the Dev connected with me to explain where the project is up to. It is only 5 months old and is currently getting a complete rewrite. He seems like a great dude, so I'm really looking forward to where this ends up.

Ответить
Steve Ringwood
Steve Ringwood - 15.03.2023 04:03

I gave it the prompt "generate code to handle ajax action which gets the current users name and returns it" and it generated

add_action('wp_ajax_get_user_name', 'cwpai_get_user_name');
add_action('wp_ajax_nopriv_get_user_name', 'cwpai_get_user_name');
function cwpai_get_user_name() {
$user = wp_get_current_user();
echo $user->display_name;
die();
}

so it clearly has an understanding of WordPress and should help with generating starting code and possibly finished code . So what if I try

"generate code to handle ajax action which gets the current user, looks up the ACF field spots and returns it" and it tells me there is a dedicated ACF mode before returning

function cwpai_get_spots() {
$user_id = get_current_user_id();
$spots = get_field('spots', 'user_' . $user_id);
echo $spots;
die();
}
add_action('wp_ajax_cwpai_get_spots', 'cwpai_get_spots');
add_action('wp_ajax_nopriv_cwpai_get_spots', 'cwpai_get_spots');


and it looks like I can save myself time typing up code. Tomorrow I am going to see if I can come with a prompt that gets me even closer to my actual goal

Next day and I tried "generate code to handle ajax action from logged in users which expects user id in post data and uses that to looks up the ACF fields name and photo placing them in an array and returning the array as json data"

and got

function cwpai_ajax_get_user_data() {
$user_id = $_POST['user_id'];
$user_data = array(
'name' => get_field('name', 'user_' . $user_id),
'photo' => get_field('photo', 'user_' . $user_id)
);
echo json_encode($user_data);
die();
}
add_action('wp_ajax_get_user_data', 'cwpai_ajax_get_user_data');

This is a good and valid answer to my prompt.
When writing custom code since I need to think through and create a problem statement , I can use that as prompt and get at least a good first pass at the code saving some typing. In this case one of the variables is an array and will need a little processing but this makes a great starting point and is more on point than most general answers on the web. Am I worried it will put me out of work, at least not at this time, one still needs to understand what they want to code to do and form a suitable prompt, then know enough to tell if the code does what they want. I see this as way of making it easier to get at least the initial pass of the code.

Ответить
Sayeed Hasan
Sayeed Hasan - 15.03.2023 02:10

I want an AI tool where I give a link to a website and tell it to create a WordPress website similar to this website and it will exercise it and create a WordPress website similar to that website.

Ответить
WGM 247
WGM 247 - 15.03.2023 01:46

The intro was epic. :) You could also be a script writer for family guy or southpark 🙂

Ответить
Ahmed D. Masoud
Ahmed D. Masoud - 14.03.2023 23:25

Thank you Paul 👍

Ответить
Mario G
Mario G - 14.03.2023 19:28

The golden ara of secutity holes has begun. It's going to be fun.

Ответить
Ron Nevers
Ron Nevers - 14.03.2023 19:14

It would be great to see you do a deeper dive into this by exploring the paid options.

Ответить
MST
MST - 14.03.2023 19:14

This is a completely new dimension. Thanks a lot for this video

Ответить
Georgi Vasilev
Georgi Vasilev - 14.03.2023 18:57

In 5 years this kind of tools will be the answer to a lot of questions.
As drivers will loose their jobs because of self-driving trucks,so will developers suffer from the AI also. Lawyers,clerks and etc.
This is the future,we have to adapt ourselves.

Ответить
Sam Wereb
Sam Wereb - 14.03.2023 18:40

CPT UI does this with no potential for mistakes. All of us use it, and it's free.

Nevertheless I am going for the pro version today because Paul recommended it.

Waiting for his affiliate link.

Ответить
CR7 FANS ⚽
CR7 FANS ⚽ - 14.03.2023 18:22

Ohhhh maan!! This is really amazing 😊

Ответить
Darron Thevarajah
Darron Thevarajah - 14.03.2023 18:19

intrigued why no bricks builder but Oxygen & Breakdance. Glad there is no Divi!

Ответить
Darron Thevarajah
Darron Thevarajah - 14.03.2023 18:16

OMG ...game changer. The paid plan is the answer to my prayer/life long goal become a WP front-end developer

Ответить
Davidov Michael
Davidov Michael - 14.03.2023 18:11

codewp - not complete the code to the end, is same like Chat GPT

Ответить
F a T J a Y
F a T J a Y - 14.03.2023 18:02

Its insane

Ответить
INSTANT KARMA Magazine
INSTANT KARMA Magazine - 14.03.2023 17:55

My mind is officially blown, thanks Paul for sharing this

Ответить
Tareq Hassan
Tareq Hassan - 14.03.2023 17:42

This is so cool but i wonder why it is not adding any comments in the code output like chatGPT ???

Ответить
Creative Task
Creative Task - 14.03.2023 17:24

This is amazing but need more improvement like: Prompt

Ответить
Matias Calvo
Matias Calvo - 14.03.2023 17:20

This is amazing

Ответить