NEXT.js 14 meets Headless Wordpress: The Perfect Combo for SEO and SPEED ⚡︎ Guillermo Approved!

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 51

  • @bridgertower
    @bridgertower  5 місяців тому +9

    FIXED AUDIO VERSION (My bad haha): ua-cam.com/video/JZc1-BcOvYw/v-deo.html

    • @anhvuuc8693
      @anhvuuc8693 5 місяців тому +1

      i thought my headphones had problems 😂

    • @0brooo
      @0brooo 2 місяці тому

      My left ear thanks you

  • @drt4003
    @drt4003 4 місяці тому +10

    Would be interesting to see woocommerce implementation

  • @cb73
    @cb73 5 місяців тому +36

    I’ve been serving clients and doing Wordpress development for them for years and I’ve never run into a scenario where a “headless” frontend had any value to them. An interesting project and really fun to experiment with but the reality is that the reason Wordpress is so ubiquitous is because of the plugins and theme configurations with short codes etc. I did work for a large company a few years ago when the headless thing was super trendy and they had the idea to convert their blog to a headless frontend. It was fun to build but the first time marketers started asking for the features they were used to, it meant more development work. Within a year that project was abandoned.

    • @nvictorme
      @nvictorme 5 місяців тому +5

      It's the backend that's headless, not the fronted 🤷 frontend IS the head.

    • @HideBuz
      @HideBuz 5 місяців тому +1

      It can be more secure as wp itself is not exposed directly, if setup correctly.

    • @alyxx997
      @alyxx997 5 місяців тому +7

      Wordpress is terrible and should not be used in any project in 2024. Especially if you call yourself "professional" :D

    • @milorad3232
      @milorad3232 5 місяців тому

      @@alyxx997 lol so not true. WP is sutable for 90% of the website projects if you know what you are doing. I've worked professionaly with it for more than 6 years on a lot of projects, where 80%+ of code is written by me. If you are using lot of plugins and page builders, you will end up with a slow website probably. Although I've worked on some that have good speed metrics in spite of using page builder plugin. WP is here and will stay, because a lot of problems have been solved, it's easy to find a lot of solutions to problems you might have if you know basic stack of languages that are required for WP.

    • @depafrom5277
      @depafrom5277 4 місяці тому

      @@alyxx997 Please explain why Wordpress should not be used in 2024.

  • @oli-9609
    @oli-9609 3 місяці тому +2

    Thanks a lot for the content ! Could you explain how to deploy this setup with only one domain for both the wp and the front end on a vps ?

  • @peterwilson3752
    @peterwilson3752 5 місяців тому +4

    Super badass, thanks for this

  • @skillissuestudio
    @skillissuestudio 5 місяців тому +2

    Great vid and even better OSS project!

  • @TheKamieniu
    @TheKamieniu 5 місяців тому +5

    Can you share a link to this WordPress NextJs combo production? To see how it works on real case.

  • @TV-tq9ch
    @TV-tq9ch Місяць тому

    Superb and what about deployment vercel or hostinger plan without cloud and vps?

  •  5 місяців тому +2

    Thanks I managed to make web profiles with CTP and ACF fields :)

  • @gambocco
    @gambocco 4 місяці тому +1

    Will it work with all plugins and woocommerce

  • @youtuber9991
    @youtuber9991 5 місяців тому +6

    FYI all your audio is on the left channel

    • @bridgertower
      @bridgertower  5 місяців тому +3

      Thanks for catching. Will reupload

  • @abura1han
    @abura1han 4 місяці тому +2

    WOW, it's amazing!
    I will probably give it a shot,
    your vs code theme is also cool, could you share the theme name, please?

  • @ramabhusal7435
    @ramabhusal7435 Місяць тому

    Thankyou, but I have 1 query:
    When I load Headless WordPress posts into my Next.js application, the CSS doesn't apply correctly to the blog post data. Additionally, I need to manage image sizes, as images appear full-screen on the blog detail page in Next.js.
    Furthermore, if I need to create a post about an art exhibition and include an image gallery, how can I manage the images to display them as a gallery? How do I ensure the images are styled correctly and displayed in a structured layout?

  • @mrbjjackson
    @mrbjjackson 5 місяців тому +1

    Looks cool. How are you doing the page transitions? Looks like you've got a kind of blur / fade thing happening there.
    Are you using the view transitions API and if so how did you achieve that with NextJS?
    Thanks

  • @phpmeras4809
    @phpmeras4809 4 місяці тому +1

    Is it possibe to add woommerce to?

  • @germandeluca3712
    @germandeluca3712 3 місяці тому

    Excellent video, what vsc theme do you use?

  • @mscj_dev
    @mscj_dev 5 місяців тому

    wow thats nice. Thanks for sharing, may I ask what do you think would be the use cases for this?

  • @techjavaid6177
    @techjavaid6177 4 місяці тому +2

    Does it support woo commerce

    • @Максим-в5п4и
      @Максим-в5п4и 15 днів тому +1

      This is the initial build. You can refine it. Woo has a REST API for this.

  • @mr.digitus
    @mr.digitus 2 місяці тому

    Perfect combo

  • @jesuzbo.
    @jesuzbo. 5 місяців тому

    This is amazing ❤❤ just a question, can I do things like importing data from wordpress plugins?

    • @bridgertower
      @bridgertower  Місяць тому

      Kind of... depends if they give you the data in the rest api.

  • @treyrader
    @treyrader 4 місяці тому

    what the hell is this lol. that's baller

  • @kennethpineda6143
    @kennethpineda6143 5 місяців тому

    How to fix the cache? its not working. When I update the content in WP. It won't reflect in nextjs. But when I check in wp rest api it update. How to fix this?

    • @childofthearts3785
      @childofthearts3785 4 місяці тому +1

      might have to change the revalidate variable? @12:53

  • @22thag6
    @22thag6 5 місяців тому

    In "post" it only gets 10 posts, is there any way to get them all?

    • @emilianoborzelli9774
      @emilianoborzelli9774 5 місяців тому +1

      Add per_page in getAllPosts function, example:
      export async function getAllPosts(filterParams?: {
      author?: string;
      tag?: string;
      category?: string;
      }): Promise {
      const url = getUrl("/wp-json/wp/v2/posts", {
      author: filterParams?.author,
      tags: filterParams?.tag,
      categories: filterParams?.category,
      per_page: 100,
      });
      const response = await fetch(url);
      const posts: Post[] = await response.json();
      return posts;
      }

  • @MatheusPereira-nn9dj
    @MatheusPereira-nn9dj 5 місяців тому

    awsome

  • @SerhatDemirkan
    @SerhatDemirkan 5 місяців тому

    Can you make it amp compatible? It might be faster and it works for me. Also thanks for sharing

    • @ukaszrozewicz7488
      @ukaszrozewicz7488 5 місяців тому +1

      Even Google drops amp development, it is outdated solution

    • @SerhatDemirkan
      @SerhatDemirkan 5 місяців тому

      @@ukaszrozewicz7488 but i need for a while