WordPress REST API Tutorial (Real Examples)

[ad_1]
Let’s learn about the new WordPress REST API.

Link to my website:

My HTML & CSS Course:

My “Get a Developer Job” course:

Starter AJAX Code:

Starter Form HTML & CSS:

Link to download zip of finished theme files:

Add me on Twitter for webDev resources and cat pics:


Posted

in

by

Tags:

Comments

32 responses to “WordPress REST API Tutorial (Real Examples)”

  1. Pankaj Kanani Avatar

    how to get the only my custom post data fron database by using restapi ??

    like my custom post type is "step "
    so suggest me how to write the restapi link ??

  2. Andrea Amado Avatar

    Thanks for that 🙂

  3. Alistair Morris Avatar

    Not wanting to over-inflate your ego too much – but man your good!

  4. Anupam Singh Avatar

    Is it better to use rest api rather then using standard ajax calls. Is it faster in any way?

  5. Limpuls Avatar

    In Javascript you loaded JSON file and you posted it into database. You did it all in one main.js file. To make JS more modular and organised, would you usually make two seperare modules for loading and posting data? And then just use es6 exports or something and then bundle those modules with webpack for production?

  6. Ciel Vermillion Avatar

    hey dood how about tutorial about the new bootstrap 4.0 beta and sass love ur vids looking forward for more.

  7. Juan Bonifacio Avatar

    I want make get data with PHP, without Javascript-Ajax, set $content with data extern of curl() api

  8. Mandy thakur Avatar

    Please start your channel again

  9. DEEPAK SINGH Avatar

    Dear Sir,

    I'm having trouble logging in to my wordpress account.
    I enabled the authentication of two steps, however, i have my contact number and i am getting message on the window that, they have sent me text sms, but i am not getting any sms. i have tried that many times. and I'm not getting more access the blog. And to make matters worse I lost my backup codes. I don't know… what to do now…. Please help me out. As i had connected to wordpress.com account thourgh Jetpack from my selfhosted wordpress.org account……
    Thanks
    Deeepak singh

  10. Melinda Mel Avatar

    Okay that's a great tutorial for someone newbie like me. Clear and easy to understand.

  11. Marco Avatar

    What do you think about CSS grid?

  12. Patrick Crook Avatar

    Great videos! You explain your steps very clearly – I've learnt more in the past two hours than I thought possible 🙂 I don't suppose you know how authentication from other domains work? All I can find online deals with XML-RPC, but it seems to have been around for awhile – nothing updated with the new REST API? Anyhow, thanks for the lessons 🙂

  13. Jyoti Pardesi Avatar

    can u plz tell me about HTTP API in wordpress and how to create…………

  14. Perfect Developer Avatar

    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.

  15. Ash Avatar

    the best rest API tutorial I have come across. much better than the paid Team Treehouse.

    I am interested in the premium course. but it's a request , please make it affordable.

  16. Hacen Selahy Avatar

    If you have a problem with the script working: you can remove "null" in :
    wp_enqueue_script('main_js', get_template_directory_uri() . '/js/main.js', 1.0, true);

    and wrap your script in window.onlaod = function(){
    all the script here
    }

    This was my hours of frustration

  17. Enoa7 Avatar

    can you possible do one like this with React+Redux?

  18. Jonas Perez Avatar

    finally finished with this series.

    thank you!

  19. Fluxxer® InternetMedia Avatar

    Very skilled and entertaining teacher!

  20. Terence Lewis Avatar

    how we can fetch the feature image for every post ?? please sir give me ans

  21. Cymantex Avatar

    I'm really looking forward to the wordpress course for developers. I hope it's done soon! 🙂

  22. Christian Martinez Avatar

    Please help I am trying to integrate a third party age verification software to my wordpress site. They have dev tools and examples with the .xml and php crap I know nothing about. I have the application keys to grant access for the api. I don't have root c panel access and I have not made a child theme for function changes… I have no idea what to do.

  23. SnazzzY Avatar

    HELP I get an error Uncaught TypeError: Cannot read property 'addEventListener' of null

  24. Werner Bessinger Avatar

    Dude! Just want to say thanks for your clear and easy to understand tutorials! I've watched countless videos on coding and your style is by far the clearest and easiest to understand. Well done and thanks a lot!

  25. Naresh Pal Avatar

    Sir the entire series is owesome….
    please make a video on comment management on output of single.php………… if possible

  26. Derick van Zyl Avatar

    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

  27. Kevin DeLaune Avatar

    Brad, do you have or will you do ANY tutorials on PHP? I bought your course on Web Dev with NodeJS, but it seems that there are countless jobs with PHP and not near as many openings with NodeJS? Thoughts?

  28. Alex TheWebDesigner Avatar

    I love your teaching style. Perfect!!! Thanx for posting these vids!

Leave a Reply

Your email address will not be published. Required fields are marked *