42 people forgot to like the video so far. Cmon folks, give this dude some likes. Too many beginner videos out there. We need intermediate knowledge like this. For free too! Give this dude some support!
YES!! I have been using admin-ajax for so long but struggle to understand where does REST API come in, or what Rewrite API does this really helped a lot! Thank you!
Wow...never even heard of the rewrite api for Ajax. Guess I been under a rock. I don't understand regex very well, but seems I need to give it a shot. Never heard of artillery either. Bravo. That's some quality WP developer content. Hats off.
Thanks for the great tutorial, have to do some ajax request via admin-ajax, but i keep getting 403 forbidden. Couldn't fix for a day (i'm at work don't have too much time to debug properly). The rest-api solution works for me. BIG THANK YOU!!!!!
Hi Alex! I got a problem where my cart does not adjust the shipping automatically when adding or removing the same item from the cart. The customer would have to reload the cart page or go to the checkout to see the right shipping price. Do you have any videos on this? Thanks
Great video, thanks! @WPCasts - what's the extension or tool you're using at 11:01 to make the JSON appear neatly formatted and readable? Just curious, thanks.
if you do a headless Wordpress do you still gotta write PHP code? Just curious how that works since the front-end that's displaying all the data is using javascript and an API.. I'm a jr so still wrapping my head around how things work. Also you seem to be very knowledgable with WP but your title at your job is frontend related, shouldn't you be considered fullstack? By the way thank you for all the content. You are paving your own path with this headless Wordpress stuff. It really is the future
Is this really all about the fastest? I a bit wonder because does javascript can do that alone? why do you need to extend the rest class wp in php? are you registering a new API end point with wordpress? such stores? instead fetching the data from post/{} or user/{} for this demonstraion?
Nice tutorial!!! Good job, I’m a big fan! I have seen you work with the form submission often times, so just out of curiosity, is there any reason that you don’t use “wp-nonce” for the form submission?
I copied your code in the themes folder and activated but I am still getting 404 errors when I click the submit button because of the routes.. How do I fix that?
Sorry to say but never use /wp-admin/admin-ajax.php instead localize script using admin_url function so if some change wp-admin directory it will return correct one.
I hope you guys learned something! If you want to chat, follow me on Twitter: twitter.com/AlexanderBYoung
42 people forgot to like the video so far. Cmon folks, give this dude some likes.
Too many beginner videos out there. We need intermediate knowledge like this. For free too!
Give this dude some support!
Excellent video. I've used "admin-ajax" for 2 years so fat and realized now It's not the best WP practice. Thank you!
Thank you, Alex! I'm starting to master WordPress using your lessons.
YES!! I have been using admin-ajax for so long but struggle to understand where does REST API come in, or what Rewrite API does
this really helped a lot! Thank you!
it makes so much sense to have vs-code tools on the right
Wow...never even heard of the rewrite api for Ajax. Guess I been under a rock. I don't understand regex very well, but seems I need to give it a shot. Never heard of artillery either. Bravo. That's some quality WP developer content. Hats off.
I try to understand what you said because i'm still practice english and i work about wordpress with westerner( Thank you for share your knowledge).
the rewrite rule stuff is super clever, thanks for sharing
Thanks for the great tutorial, have to do some ajax request via admin-ajax, but i keep getting 403 forbidden. Couldn't fix for a day (i'm at work don't have too much time to debug properly).
The rest-api solution works for me.
BIG THANK YOU!!!!!
very cool i was searching this from long time
What do you think of GraphQL? Is it better than all these 3?
Hi Alex! I got a problem where my cart does not adjust the shipping automatically when adding or removing the same item from the cart. The customer would have to reload the cart page or go to the checkout to see the right shipping price. Do you have any videos on this? Thanks
Great work! Helped a lot
I haven't seen more than 4:50 minutes of his video, but I can already tell: he's an export and "listens to him".
Very Cool, thanks bro!
Great video, thanks! @WPCasts - what's the extension or tool you're using at 11:01 to make the JSON appear neatly formatted and readable? Just curious, thanks.
It's called JSONView
@@WPCasts Thanks for the response! Loving your vids...
if you do a headless Wordpress do you still gotta write PHP code? Just curious how that works since the front-end that's displaying all the data is using javascript and an API.. I'm a jr so still wrapping my head around how things work. Also you seem to be very knowledgable with WP but your title at your job is frontend related, shouldn't you be considered fullstack? By the way thank you for all the content. You are paving your own path with this headless Wordpress stuff. It really is the future
very good tutorials. !! great job
Is this really all about the fastest? I a bit wonder because does javascript can do that alone?
why do you need to extend the rest class wp in php? are you registering a new API end point with wordpress? such stores? instead fetching the data from post/{} or user/{} for this demonstraion?
Can you create a video that explains CORS and making requests from outside
What’s the vscode theme you used 🤪?
Nice tutorial!!! Good job, I’m a big fan! I have seen you work with the form submission often times, so just out of curiosity, is there any reason that you don’t use “wp-nonce” for the form submission?
Thank you ❤
I copied your code in the themes folder and activated but I am still getting 404 errors when I click the submit button because of the routes.. How do I fix that?
Very good tutorial.... really helpful thanks for this great post.
When you are launching wordpress course ??
please make videos about ajaxing pages (single.php, page.php, archives etc )
....benchmarking using artillery... - o yeah! seatbelt fastened! :D
what is ajax used for
Can you please do another wordpress ajax video but with jQuery?
1st like comment...thank u
I wish there would be a beginner level video to this video, to understand what's you're saying better.
What is it you're not understanding?
Can you make live search for products with images result? I’m searching for many days but no one teach it
yes
TLDR; Rewrite API FTW!
Fucking awesome video dude, thank you for doing this, very helpful.
You’re very welcome!
Thank you
I'd like for ajax calls to not load plugins (like All in One SEO) that have no business being loaded and slow it all down.
THANK YOU.
You’re welcome :)
Sorry to say but never use /wp-admin/admin-ajax.php instead localize script using admin_url function so if some change wp-admin directory it will return correct one.