WordPress REST API Tutorial (Real Examples)
Вставка
- Опубліковано 14 гру 2016
- Let's learn about the REST API built into WordPress! Join my full courses: learnwebcode.teachable.com/p/...
Let's learn about the new WordPress REST API.
Link to my website: learnwebcode.com/
Starter AJAX Code: codepen.io/anon/pen/ObBQqv?edi...
Starter Form HTML & CSS: codepen.io/anon/pen/jVQPLz?edi...
Link to download zip of finished theme files: learnwebcode.com/wordpress-res...
Follow me for cat pics:
Twitter: / learnwebcode
Facebook: / brad-schiff-1542576316...
You have a gift. I've been designing for about 5 years but recently started leaerning the JS stuff and I read lots of tutorials and also watch lots of videos but your videos stand out. You provide just the right amount of information and explain things in a very clear succinct way but are very thorough. Hard to explain, please keep it up.
You Mr. have an outstanding way of teaching. I'm merely repeating what others have said already, but it can't be said often enough. Extremely comprehensive and perfect pace. Huge thumbs up for your work here. I only dropped by because I was curious what you had to say about Rest API, but I got hooked onto your teaching style and I almost watched this video like a movie.
Outstanding work Sir! Will visit again for sure.
I found your channel by searching for Sublime Text tutorials and I'm so happy that I did. Thank you for sharing your knowledge with us and I look forward to all your future videos.
This completely blew my mind! I've been using WordPress for a while and this tutorial makes so much sense as I've just covered AJAX and PHP at University, thank you so much :)
I work 30 yrs in IT, so far mostly networking but now switching more to development. I really like your style! Everything is really clear, it has its tempo but it's not to fast. Keep doing great work. Thank you
You're seriously one of the best teachers out there for web development and wordpress. You've got a pleasant way of talking, everything is clear and explained in an uncomplicated way so things seem really easy to do! Thanks for all the work you've put into this!
I think that this is no one of the best ever tutorials of wordpress i've seen... this is THE ONE AND ONLY best ever tutorial about Wordpress Theme Development on UA-cam and i dare to say that on the internet, Incredible work, congratulations you are an excellent teacher!
Maybe thi is the greatest tutorial I ever seen!
Technically perfect, clear and very useful
.
Also your way of speaking is incredibly understandable for my level of English (I'm italian). 5 stars for you!!
You are by far the best teacher that I have come across in my life. I can't get enough of your tutorials. Been watching for 12 hours non-stop
That sounds like the "eating your vegetables" version of binge-watching Netflix. Haha, but seriously, thanks for the kind words; glad you enjoy the videos!
I agree. This is about as clear and concise as a tutorial can be. Just wonderful.
Clear and to the point! Enjoyable and stress free learning resource. Easy to understand; no need to "decode the teacher's communication style to access the information". Good Teaching Speed. Love it.
Yo Brad. I came here to get a head start on one of your modules in the Udemy become a Wordpress Developer course on Udemy. I have to say you are one of my favorite instructors so far. Your style of teaching really resonates with me and has been extremely helpful. I purchased a couple more of your courses and am very grateful to you for all of your instruction.
No words to praise this guy..Best tutor i have seen so far...always clears my all doubts ..just by saying why???❣❣❣❣❣❣lots of love
Dude you are an amazing teacher. This video was the only source that I could understand for REST api programming.Thank you!
When I started playing this video I recognized your voice. I watched the Udemy advanced WP tutorial earlier. Best wordpress tutorial out there.
I did not know you had a YT channel. Subscribed !
hahaha, the snack break - nice touch! and you are seriously one of the top tutors on yt! your effortles transmission of knowledge shows how well you understood the topic at hand! very impressive! thank you!
love youre teaching style, perfect speed, transparent, perfect metainfo 👍- got a new subscriber here
You my friend, are a mensch.
Saved my life with this tut. Thank you.
The quality of your content blows my mind... Thanks!
THE BEST TEACHER ON YOU TUBE KEEP GOING BLESSINGS WITH YOU I AM BEGINNER IN THIS BUT STILL YOUR CONTENT IS SO CRYSTAL CLEAR THANK YOU FOR YOUR EFFORTS
Your truly a gift my friend. I have several different learning disabilities and you teach and explain things so well I have only had to watch your videos 1 time... when I normally have to watch dozens of times from other instructors. Please let me know where you are actively teaching please!
lol
perfect explaining the rest API concept without meshing up JSON or AJAX, fortunately I am well aware of JSON and AJAX so this video was nice grasp for me. Thanks for posting this wonderful tutorial
I had been on Lynda.com taking lessons, but this series of tutorials was more informative, and covered the general WP architecture better than anything I have found so far! WordPress documentation SUCKS, although it is still a good reference. I think they don't really care about expanding their user base too much. You have been a godsend. Thank You, thank you, thank you!!
I liked your cat and loved these tutorials looking forward to watching about customizing themes and creating child themes from you. Thanks
Snack break lol I've been learning basics of web development in the past year and your videos made most of my 'aha' moments - thank you!
Best Teacher on Earth in Web development
I know this has been on UA-cam for a while, but I have just started learning Wordpress development, and this is by far the best learning material I have come across. The way you have covered not only the Wordpress part but also all the Javascript and related concepts, one could not ask for any better. Thank you so much for getting this across!!!
I agree with you. His teaching style is some of the best. There are newer and better ways of makeing the ajax calls nowa days. Brad Traversy has a really good course on modern Javascript. His teaching style is a lot like this guy.
Is this tutorial still relevant in 2022 in your opinion?
You made Wordpress API learning easier. Much thanks!
i learn from your wordrpess course on udemy. that was really really to the point clear and practical , Thank you so much now i am a Wordpress developer and building big projects and started my career . Thank you once again . Love from India.
This is what i am talking about right here...Can't wait for your upcoming wordpress series.
The best tutor out there in my opinion. The style of teaching is the just brilliant. Keep it up. Also if you can please make course about websockets and regular expressions it will be awesome as I always have problem understanding that. Thanks for this though.
FANTASTIC VIDEO - nicely explained, great vocal tone and delivery tempo.
You have a way of going through things that makes it super easy to understand! Love your videos, subbed.
Already purchase course on Udemy! Incredible Tutor. Did enjoy listening to Mr. Brad's voice timbre as well. Keep it up. Love it!
Dear Brad,
I just wanted to take a moment to express my sincere appreciation for this incredible UA-cam video. Your insights and expertise were truly inspiring and incredibly helpful.
Thank you for the effort and passion you put into creating such high-quality content.
Keep up the fantastic work! I look forward to seeing more of your videos in the future.
Best regards,
Will
Thank you very much Will, your comment made my Saturday 🙏
Thanks sir, this tutorial is very useful indeed. I am from India I found many videos but really I understood through your videos.
Thanks again.
Sir the entire series is owesome....
please make a video on comment management on output of single.php............ if possible
One of the best tutorials I've ever seen on You Tube!
You are very well spoken and to the point. I am learning a lot with your videos. than you very much Sir!
I Literally search go to your channel first whenever i have a hard time understanding some topics about some coding fields.
I really like the way you presented this! Im an iOS developer, but wanting to use the WordPress REST API to communicate between my app and wordpress site. Just wanted to take some time to say thanks !
Okay that's a great tutorial for someone newbie like me. Clear and easy to understand.
You are a wonderful teacher. You are truly gifted. Thank you for sharing your knowledge 🙏
I'm really looking forward to the wordpress course for developers. I hope it's done soon! :)
I love your teaching style. Perfect!!! Thanx for posting these vids!
Dude, thanks for the video. Your teaching is perfect, my sincere congratulations!
finally finished with this series.
thank you!
This video was so useful for what I’m developing right now. Thank you so much!
This is the first video of yours I've seen. Consider me subscribed!
Thanks a lot!! your lecture is really helpful. And the cat comes out at the early video is so cut^^
Great tutorial! I tried to learn AJAX a while ago and it's one of the few things that I had to give up on because I couldn't figure it out, but thanks to your video now I managed to make it work.
Question - if I want to update post contents, do I need to learn how to generate another nonce? This "nonce" security thing, I didn't quite understand it, I'm just glad it works the way you showed it.
Thanks for this awesome tutorial
Hello.
Do you know how special this video series is for me. Before watching this course, I was not interested in coding. I just used to download free WordPress themes and use them.
But one day, I was just searhing on UA-cam to know, how a theme is created.
And I found this video series. I really loved the way you explained everything.
And after wathing this series, i decided to learn more. I am learning and creating WordPress themes from about 2 years now.
And now. I am going to start my online business. I am going to sell Premium themes and plugins online.
Thanks you very much.
good going mate.
hello
vishal ranjan hello i need help please give me your mobile number on my email id ppanwar755@gmail.com
How are we doing a year later?
Brad, I suspect the Head Coder at LearWebCode is not you but Professor Meow (I am enrolled in your WordPress and Laravel courses). Seriously, you are a world-class technology teacher.
Amazing Tutorial...Very easily explained that even beginner could understand ..Thanks a lot and Keep it Up :)
This was extremely helpful, thank you! Clear tutorials on WP REST API are still scarce.
It's also for me and for those who need it, to get to the related point quickly:
18:56 - How to write the GET method
22:51 - How to show data from GET in html
25:21 - Tutorial beginning for the POST method - this have to take care
I may expand my comment the further I watch the video.
amazing video. Sound is crystal clear
For anyone having trouble loading in initial javascript console.log message in the wp_enqueue_script function, try leaving out the version number aka the 1.0. This fixed my problem and the "Hello from main.js" printed to the console.
I really like your videos, they have helped me out a lot. Can you do a video on how to make custom meta boxes for the admin post/page editor pages?
men you rock!!!
Best and first wordpress rest API tutorial
thank you so much, its very clear and easy to follow your tutorials, ill gonna check out your latest tutorials.
Amazing teacher. Learned from you a lot. I have a request to make can you teach us about headless CMS using React as a front end and Wordpress as CMS?
This is an amazing video on wordpress rest api for sure!. Expecting a tutorial on contact forms using wordpress rest api.
I have learned so much with this tutorial. Thank you.
Very skilled and entertaining teacher!
That was an absolutely great tutorial, and also the way you were coding! Thank you so much.
I have just a question about the Update posts action and actually, I want to know how can I check if the post is duplicate or not?
Excellent tutorial! Thank you for the great, easy to follow tutorial.
Impressive tutorial Brad! Thanks !
Thanks, man.
That's the video I've looked for
Best REST API video ever found!
thanks, that's one of the best tutorials I've watched!
@LearnWebCode
This is a fantastic video, thank you! How would one go about using the ACF gallery in this case?
I am just learning what PHP and JavaScript can do, so this is great
Hi Brad, thanks for the brilliant video! Just wondering if we can use Promise to get the JSON data instead?
Loved the video. Keep up the great work fam!
Crystal clear tutorial. How would you get 3 random posts from a given category?
Please note for TASK 2, as of version 4.5 in wordpress, the standard method to pass data from a php file to js has changed from using the `wp_localize_script()` to using the `wp_add_inline_script()` function. Infact wordpress doc recommends : `wp_localize_script()` should only be used when you actually want to localize strings.
Amazing clarity in your teaching skills. Thank you for your contribution. I am interested in what text editor you are using in this video?
He's using Sublime Text with the El Capitan theme.
Hi,
kindly help me, how to get the all post from the json , it shows only certain recent update posts.
Brad, thankyou so much man, u explain so clear, thank you so much i appreciate it
Amazing video. You make the things seens so easy!
Thank you for this. REST API is something I am trying to learn too :)
i wanted to show my posts from wordpress to my android application using json so can i do it in this way or please suggest any video for it
hello !! thanks so much for this video, is AWESOME!! it helps me a lot! I just have one question, is it possible to use a site created in the node environment transfer to Wordpress? do you know video o pages that show how to do it ? thanks so much
how would i extract or parse the returned objects' content property into plaintext for display, I see you used the x.content.rendered here but the current api response doesnt contain it
Great tutoriel, concise and clearly explained.
can i buy my theme that based on angular and node without php in theme forest as wordpress theme using (rest api) or they accept themes based on php only??
Hey I am working on a project and need to pull in two different elements of content. One is a photo and one is text.
How do I write the javascript code to pull both elements in? I also want the user to be able to click the button to return to the original view.
Can you help me with this?
Simply amazing video. Superb insight from an expert teacher.
sir i have a scenario i want to make post (having image upload) from my mobile app and post should only be published when admin approve it. is this possible if yes kindly guide me thanks.
Thanks man, amazing video, I finally get this API work XD.
Hi i have a question, are you editing your wordpress php files online on a server? how do you add a js folder and a file? thanks
How did you create the page-portfolio.php? I cant find anything like that in my files. I want to create the empty div and thn create a custom javascript file, but how do you create or find the page.php that you create the empty div in?
Greatly awesome. Well explained. Easy to follow. A Great teacher! By the way which editor (IDE) are you using to code?
Thanks, Ron Howard. This was helpful.
Wow! This video is banging! Thank you very much! Love it!
Man, i know very little about json, ajax, and js, but this i could follow and learn how to tinker with (with additional study of course).
Thanks a lot for great learning and useful tutorial. I did make it work! Also bought your udemy course... Good work!
great tutorials!!! But what if the ajax has to work with woocommerce? I need to send wc data and receive them...do you have something that could help with thata? thanks!
any idea where we should put the function inside a pre-built template of WP?