Dang, I am super impressed by how fluent you are in WordPress and react. I've never seen anyone tie it together so effortlessly. (which I know must have been a ton of work to gain!!) Thank you!
Hey Brad, if you add the _embed parameter to your posts requests (/wp-json/wp/v2/posts?_embed) that adds new properties to the post object containing the featured image url like this: post._embedded['wp:featuredmedia']['0'].source_url, and the author data also, so you don't have to make an extra fetch to the server
Fantastic tutorial, you taught me quite a few things (or reminded me also). - Postman - JWT Token - "proxy" - "PropTypes" - isLoaded protocol - Route component prop Thanks so much for helping with this!
Now I've learned react, and the mern stack , I thought about building a new website using WordPress as the CMS for my react frontend... And what do you know? Brad is the first video in the search.. Awesome!!
This is something I've been wanting to try and didn't know where to start. Your video has been extremely helpful and given me the confidence and enthusiasm to dive in and give it a shot for myself. 🤘
Thanks a lot Brad. Very clear, and I'm excited to get started. Have you used Gatsby? I believe it takes care of the heavy lifting although I've not used it yet.
Glad I found this! Thanks Brad! I got everything up and running locally but it gives me an Error establishing a database connection after I deployed to Heroku.
Such a great video! Really helpful for seeing exactly what you need to hook a WordPress site up with a custom front-end. Really cool I can't wait to try it for myself 😎🔥
Hi Brad, thank you for great tutorial. How will the React frontend be displayed when we deploy our site? Do we need to make some changes on Wordpress, pointing the frontend to React application? If so, how do we do it ? :)
Nice way to add backend to a react project. How would this work with a crawler? Am I missing something or the content wouldn't be there to get rendered when the bot crawls the page?
Hey Brad, This is awesome, I did follow everything but now I don't know how to move it to live server! can you please show the steps to move it from local to online
What are the limits of this aproach? Can i completely replace a backend with wordpress to avoid using php or this is useful only to get simple information from my wordpress site? Thanks for the video Brad.
Hey Brad (or anyone reading this comment), quick question. When you make the GET request, instead of HTTP, I tried using https and I'm getting an error, any idea how I can fix this? It's a Nginx error for serving mixed content.
Hello, I encounter a 404 error despite the addition of the proxy in package.json and restarting the server have you a solution for this problem. thank you in advance . Dan
Thanks Brad For This Video, Just i want to know if i can use this (JWT authentication and WordPress Rest API) With Laravel to share login with both of theme. if i can, May i ask for a docs or video explain Thanks
just make a series please... it's worth it... how to make navigation from wordpress works in react... auth is already covered in django-react series... But that's my question how make when the user creates a page in wordpress, how we can reflect that... in react.
This was wonderful and very relevant to my current project. May I ask...how would I utilize these custom field plugins with older posts, is there a way to port them into this new api format?
Hey Brad, This was really helpful but I am stuck in a situation where I have a menu say Book and a submenu with (say) 5 books with their links. Now, when I am on root page and navigate to /book/1 I see the data. But then when I navigate to /book/2 I still see the old data of book 1 until I refresh the page. In short the URL parameters changes from 1 to 2 but the data don't change until page is refreshed. Note: I am not using Go Back link but using the submenu to navigate through all books. Can help please?
Hey, Brad could you do a video on your set up for VSCode and WordPress? I am having problems getting things to work properly. The Emmet completion in a php file and for that matter the WordPress php function completion. The PHPCS Extension, no matter what I try, just doesn't want to work either. Awesome videos as always!
Any tutorial on how to make Custom Wordpress Objects and Fields connect to Salesforce Objects and Fields. How would the integration work? Thanks so much!
Thank you for sharing this, and the time you put into the tutorial. I have a question... what would the usage of this? I mean, why could not just create a complete application without using WordPress to enter/store the data? We could create a complete solution where you could enter the data and retrieve it as well? I really do not see any usage for WordPress Rest API that could be actually an efficient way to develop an app. Please could you share some usage examples so I can better understand how this can be useful? Thank you so much
Hi . The video is Amazing . I work with react js a last months. How can you Api Integration with wordpress? can you take API and communicate with React js? thanks.bye
Great tutorial! Thanks a lot Brad! Although I have a question. With the new Gutenberg editor, how do you access blocks data via rest api? I can’t seem to find the right endpoint?
Thank you Brad for the amazing tutorial. One question, the book post if viewed from the CMS looks different from what has been created in React. Why is that?
The problem is... Wtih this... I am facing is.. when there are large amount of post like.. 300 posts... It's not fetching the data in one part i have to send a response to get to the WordPress pagination then show.. the data... For that it is taking too much time.. to load the page.. like 10-12 sec which is unacceptable to the use how can I fix this ? Need help..
what is he using to clean the code up when he saves the file? It looks like somethings automatically changing his syntax. For example at 49:19 on line 31 he saves and it removes his ending div element?
Hey Brad, can you point me to any resource you might know on authenticating with tokens that are valid for a set period of time, like how do you you make the token refesh every time?