Leave a Reply

145 Comments on "WordPress REST API Tutorial (Real Examples)"

Notify of
avatar

Xpert Developer
Guest
Xpert Developer
2 days 10 hours ago

Install WordPress In Your server go there and get a nice service goo.gl/X9hdWe . I use that service , she is really nice , and I am sure can make you happy like me

Howling Tomcat
Guest
Howling Tomcat
10 days 3 hours ago

How did you display the featured images in the portfolio posts? I tried adding _embed, but how do I target the image? I see source_url in the output…

Howling Tomcat
Guest
Howling Tomcat
9 days 21 hours ago

Never mind. I figured it out by using Better REST API Featured Image plugin, which made it easier. I agree with other comments – your teaching style is outstanding! Now I get to keep my hair by not pulling it out trying to follow other videos on such technical subjects. Way to go! Thank you.

Walker
Guest
Walker
10 days 15 hours ago
Great tutorial!I have been hired to create two websites for the non-profit I volunteer for. A public facing site, and a newsletter site. What I would like, is to be able to create a newsletter post and then choose that post to display as a news item in the public facing site. The idea is that the newsletter site will constantly be updated with articles pertaining to the organization, but then a specific article can be "tagged" to show up on the public/corporate site to give it dynamic content, and to cross-link the two. It was suggested to me that… Read more »
Marko Rabat
Guest
Marko Rabat
15 days 5 hours ago

Hi here's free guide on learning to code: learntocode.lpages.co/learn-to-code-fast/

Pankaj Kanani
Guest
Pankaj Kanani
15 days 18 hours ago

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 ??

Daniel Duesentrieber
Guest
Daniel Duesentrieber
10 days 7 hours ago

it takes skills of jquery for this too

Andrea Amado
Guest
Andrea Amado
18 days 5 hours ago

Thanks for that 🙂

Alistair Morris
Guest
Alistair Morris
20 days 14 hours ago

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

Anupam Singh
Guest
Anupam Singh
21 days 6 hours ago

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

Anupam Singh
Guest
Anupam Singh
18 days 19 hours ago

Thanks

LearnWebCode
Guest
LearnWebCode
18 days 23 hours ago
Good question. Are you referring to the traditional way of sending requests to "admin-ajax.php" of WordPress? I did read an article that mentioned the new REST API is a tiny bit faster; but by a negligible amount. I think the real advantage of the REST API is you can let the API do a lot of heavy lifting for you. With the traditional "admin-ajax.php" way of doing things you'd normally have to write a bit of PHP to handle user permissions, what data you wanted to retrieve/send from/to the database, etc… With the REST API you can get complete all… Read more »
Limpuls
Guest
Limpuls
29 days 16 hours ago

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?

Ciel Vermillion
Guest
Ciel Vermillion
1 month 8 hours ago

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

1 2 3 13
wpDiscuz