Getting Started with Headless WordPress with NEXTJS & WPGRAPHQL

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 81

  • @WPCasts
    @WPCasts  3 ปีที่แล้ว +39

    I hope you learned something! Let me know if you’d like me to continue going over NextJS and WordPress together!

    • @MrJfergs
      @MrJfergs 3 ปีที่แล้ว +2

      I would be very interested in watching those videos as well.

    • @vikashdenzil
      @vikashdenzil 3 ปีที่แล้ว +3

      Yes please

    • @daamas3809
      @daamas3809 3 ปีที่แล้ว +1

      great! more!!

    • @gmagnenat
      @gmagnenat 3 ปีที่แล้ว

      Yes please keep on going over NextJS and Wordpress. Quality content :) 👍

    • @Aloysiusb
      @Aloysiusb 3 ปีที่แล้ว

      Yes, this is great!

  • @abdulrafay1951
    @abdulrafay1951 3 ปีที่แล้ว +12

    yes please, dynamic content and comment feature

  • @haffystube
    @haffystube 3 ปีที่แล้ว +8

    Love the shortness and how you describe it. Would love to see more from you regarding Next JS and Headless, maby even a video about how to deploy to a basic server.

  • @JoshuaJarvis
    @JoshuaJarvis 2 ปีที่แล้ว

    I've tried about 10 or so Next tutorials and yours was by the easiest for a novice like me to follow. THANK YOU.

  • @ivanbarta2821
    @ivanbarta2821 3 ปีที่แล้ว +6

    If you find time to make another video about Wordpress & Next, I promise I'll take the time to watch it :-)
    Great content! Thanks!

  • @korbel23
    @korbel23 2 ปีที่แล้ว +1

    Hey man this was awesome. I bought a course from Udemy to learn headless wp today, which was 5 hours and it was garbage. This was much more useful and knocked out in 30 minutes

  • @kellenmace
    @kellenmace 3 ปีที่แล้ว +4

    Excellent intro into headless WP + Next.js! 💥🙌🏼

  • @chandikalakshan468
    @chandikalakshan468 3 ปีที่แล้ว

    The initial energy for the WordPress + Next.js path. Thank you very much.

  • @itai0800
    @itai0800 3 ปีที่แล้ว +5

    Hey ! This is one of my favorite channel’s regarding Wordpress development, but all of your videos are Pretty short and I can’t build real projects from scratch.
    It would be awesome if you’d create a full course on react & next.js for Wordpress development. I promise to be your first customer for such course.

  • @martinkilarski7267
    @martinkilarski7267 3 ปีที่แล้ว

    This is great. Please, keep bringing videos about more advanced Headless WordPress with NEXTJS & WPGRAPHQL

  • @klikboost
    @klikboost 2 ปีที่แล้ว

    Great tutorial to start headless WP with nextjs. Thank you very much

  • @volodymyrselevertov
    @volodymyrselevertov 3 ปีที่แล้ว +1

    thanks for content Alex))
    I hope you will continue that series with WordPress headless + Nextjs or Gatsby as frontend, will be Great :)

  • @Allformyequine
    @Allformyequine 3 ปีที่แล้ว

    Yes I’m very interested in this PLEASE keep it coming !!! Yay!!

  • @abenjamin13
    @abenjamin13 2 ปีที่แล้ว

    Appreciate this setup. Need to practice for a job thank you 🙏 ❤

  • @kyleHunter1986
    @kyleHunter1986 2 ปีที่แล้ว +1

    A few questions / thoughs
    1. Whats the advantage to using the Image tag in next when I can just use

  • @shadyqaddoura3451
    @shadyqaddoura3451 3 ปีที่แล้ว

    Alot of values in this video, thank you so much 👏

  • @felipejubert5210
    @felipejubert5210 3 ปีที่แล้ว

    Great content. Please continue!

  • @TheEtsgp1
    @TheEtsgp1 3 ปีที่แล้ว +1

    Great video, I had some issues with an invalid-json error. I used local to deploy a local wordpress site and forked your repo, changed all the URI links to the graphQL to point to my site and I get this Do you know why this would happen? Thanks

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw2490 3 ปีที่แล้ว +1

    Awesome content, thanks sooo much!!!
    Will you create a NuxtJS + Headless WP tutorial??

  • @TaderSalahEddine
    @TaderSalahEddine 2 ปีที่แล้ว

    Hello, thanks for this video
    I want to host two websites:
    1 - wordpress headless as backend
    2- nextjs application as front end
    what is the best formula to host both

  • @amirmasoodjafari3207
    @amirmasoodjafari3207 2 ปีที่แล้ว

    thanks for the tutorial ..
    what if we have like a inventory page and i wanted to develop filtering and everything and the number of data could be more that 1000 ! how i should handle this ?? should i first get the initial data with getServerSideProps and then handle filtering and everything with useEffect ?

  • @solankiketul5640
    @solankiketul5640 3 ปีที่แล้ว +1

    Can you please make a tutorial on how to extend the wordpress metadata api for creating custom tables. Please, as soon as possible...please...

  • @LearnwithKamrulHasan
    @LearnwithKamrulHasan ปีที่แล้ว

    Hello, Is this possible to serve some pages from wordpress using page builder and some pages from next js ?

  • @ahmedsamir-m8s
    @ahmedsamir-m8s 3 ปีที่แล้ว +1

    That was working but with the same code .. I'm getting FetchError: invalid json response body at ,, Is there's something wrong lately?

  • @Jennifer-ju8de
    @Jennifer-ju8de 3 ปีที่แล้ว +2

    Before I watch the video... is this a full on tutorial? Showing how to capture pages, menu's and how to have a WordPress install on a live server adjacent to the nextjs export?
    I give you the benefit of the doubt but I saw just too many incomplete tutorials on headless tutorials. I am looking for something production ready.

    • @WPCasts
      @WPCasts  3 ปีที่แล้ว +4

      This is just getting started. Making queries and getting some posts to render. I plan on continuing the series if there is interest from my subscribers :)

    • @pawieplays
      @pawieplays 3 ปีที่แล้ว +3

      @@WPCasts please continue doing this series

    • @Jennifer-ju8de
      @Jennifer-ju8de 3 ปีที่แล้ว +3

      @@WPCasts Absolutely please continue the series. There is such a lack of full tutorials. I really like your style and channel. Its a huge untapped place on TH-cam. Good luck!

  • @michaelgarlick6134
    @michaelgarlick6134 3 ปีที่แล้ว

    Hey! Great video thank you!
    How would you go about this if you want all the site dynamic to the content in WP? What if you had a new blog posts every week or even everyday etc?

  • @nazokatisamova5073
    @nazokatisamova5073 3 ปีที่แล้ว

    Thank you this was very helpful and easy to follow

  • @greytoy11
    @greytoy11 3 ปีที่แล้ว

    Great content, man! Keep going

  • @mehdichamiani6838
    @mehdichamiani6838 2 ปีที่แล้ว

    How can we use some WordPress Plugins in this way? The only way is through API? if it does not support any API, what should we do?

  • @SebastianPerezG
    @SebastianPerezG 3 ปีที่แล้ว +1

    How can i secure the wordpress endpoint , by htaccess and ip ?

  • @AllahomAnsorGaza
    @AllahomAnsorGaza 3 ปีที่แล้ว

    hello bro
    i have question please
    what can i do to secure this data
    for example i can access to anyone using this plugin in his wordpress site and i can use his posts for my site
    how i can tell my wordpress site to dont provide data to anyone expect me only.
    thank you

  • @pawelkieryk
    @pawelkieryk 3 ปีที่แล้ว +1

    Gutenberg blocks and elementor integration with Next.js would be amazing 🙂

    • @vikashdenzil
      @vikashdenzil 3 ปีที่แล้ว

      I don't think that's even possible right now

    • @pawelkieryk
      @pawelkieryk 3 ปีที่แล้ว +1

      @@vikashdenzil well actually here is proof of concept and it works fine: th-cam.com/video/N5UtB36x_O8/w-d-xo.html :)

    • @krzycchu
      @krzycchu 3 ปีที่แล้ว

      if we are talking blocks: generateblocks + generatepress :)

    • @vikashdenzil
      @vikashdenzil 3 ปีที่แล้ว

      @@pawelkieryk will check it out

  • @wedepohl
    @wedepohl 3 ปีที่แล้ว

    Great tutorial ... I would be very interested in how to get dynamic content and how to deploy that.
    I also see that GraphQL can give you the menu object would you be able to build a "normal" multi page website in this manner?

  • @erjohn5404
    @erjohn5404 3 ปีที่แล้ว

    where did you copy those methods body stuff the code you json stringify?

  • @Askbowe
    @Askbowe 3 ปีที่แล้ว +1

    How do we include comments

  • @shafqatkhan301
    @shafqatkhan301 3 ปีที่แล้ว

    Thank you. This is really helpful.

  • @lilabajrami
    @lilabajrami 3 ปีที่แล้ว

    i get "TypeError: Cannot read property 'node' of null" when i dont set a featured image. any idea how to fix this so it just doesn't display the image instead of giving me that error?

  • @venkatapenumatsa3959
    @venkatapenumatsa3959 3 ปีที่แล้ว

    How to remove extensions from a Graphql query, as thats not needed ?

  • @devsquaredTV
    @devsquaredTV 3 ปีที่แล้ว

    great vid. subscribed!

  • @funsl1ng3r
    @funsl1ng3r 3 ปีที่แล้ว

    When you start the tutorial, is the next.js setup done in a custom theme folder? I'm new-ish to WP development and brand new to next. It looks like you're creating your nextjs project NOT in a WP theme directory, where are you installing the create-next-app? My first query doesn't find any post object.

    • @WPCasts
      @WPCasts  3 ปีที่แล้ว

      Correct, it's in a custom folder...it's NOT located in the same folder as WP.

    • @funsl1ng3r
      @funsl1ng3r 3 ปีที่แล้ว

      @@WPCasts where should I create this folder so it can connect to the WP site?

  • @AsadKhan-cw6ue
    @AsadKhan-cw6ue 3 ปีที่แล้ว

    I have a Question after creating a static site build in nextjs from the WordPress endpoint. are we going to host the WordPress and Nextjs site on different domains? I am confused about this thing. Please guide.

    • @gmagnenat
      @gmagnenat 3 ปีที่แล้ว

      Yes that's the advantage of going with a headless approach. You can host and secure your wordpress backend on your usual php hosting and publish the front-end on vercel or netlify for example for free. It will make your front-end fastly accessible on their hundreds of CDN locations around the world.

  • @CameroneAddamse
    @CameroneAddamse ปีที่แล้ว

    How to make the post url without the parent /posts/ or /category/. ex: localhost:3000/hello-world

  • @itgiants5218
    @itgiants5218 2 ปีที่แล้ว

    I really do appreciate your efforts but dude I feel you're memorizing stuff or copying and pasting with skipping a lot of information and explanations, but I learned some new stuff from this video, thank you.

  • @Johnny1864
    @Johnny1864 3 ปีที่แล้ว

    Guess I'm going to have to learn Next lol

  • @karangill2065
    @karangill2065 2 ปีที่แล้ว

    I'm getting undefined in the console please I can't find the solution

  • @jonice4229
    @jonice4229 ปีที่แล้ว

    how to deploy this on vps server?

  • @andresposadallano9490
    @andresposadallano9490 2 ปีที่แล้ว

    Thanks a lot!

  • @stayhappy4307
    @stayhappy4307 2 ปีที่แล้ว

    Great tutorial thanks for help :)

  • @medcomstar
    @medcomstar 3 ปีที่แล้ว

    Thank u thank u thank u... u are awesome

  • @MaPerera77
    @MaPerera77 3 ปีที่แล้ว

    We need Headless WordPress with Gridsome

  • @tomihq
    @tomihq ปีที่แล้ว

    ¡Thanks!

  • @Khawar_Mehfooz
    @Khawar_Mehfooz 2 ปีที่แล้ว

    Sometimes I also use Hello Mars, Good Bye Mars, instead of Hello World😅