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

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025

Комментарии • 54

  • @bridgertower
    @bridgertower  6 месяцев назад +10

    FIXED AUDIO VERSION (My bad haha): ruclips.net/video/JZc1-BcOvYw/видео.html

    • @anhvuuc8693
      @anhvuuc8693 6 месяцев назад +1

      i thought my headphones had problems 😂

    • @0brooo
      @0brooo 3 месяца назад

      My left ear thanks you

  • @drt4003
    @drt4003 5 месяцев назад +13

    Would be interesting to see woocommerce implementation

  • @cb73
    @cb73 6 месяцев назад +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 6 месяцев назад +6

      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 5 месяцев назад

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

  • @skillissuestudio
    @skillissuestudio 6 месяцев назад +2

    Great vid and even better OSS project!

  • @peterwilson3752
    @peterwilson3752 6 месяцев назад +4

    Super badass, thanks for this

  •  6 месяцев назад +2

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

  • @oli-9609
    @oli-9609 4 месяца назад +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 ?

  • @mr.digitus
    @mr.digitus 3 месяца назад

    Perfect combo

  • @TV-tq9ch
    @TV-tq9ch 2 месяца назад

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

  • @abura1han
    @abura1han 5 месяцев назад +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?

  • @mscj_dev
    @mscj_dev 6 месяцев назад

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

  • @arek1078
    @arek1078 7 дней назад

    Do you think it would be possible/sensible to have a similar solution for WooCommerce?

  • @TheKamieniu
    @TheKamieniu 6 месяцев назад +5

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

  • @mrbjjackson
    @mrbjjackson 6 месяцев назад +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

  • @germandeluca3712
    @germandeluca3712 3 месяца назад

    Excellent video, what vsc theme do you use?

  • @ramabhusal7435
    @ramabhusal7435 2 месяца назад

    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?

  • @gambocco
    @gambocco 5 месяцев назад +1

    Will it work with all plugins and woocommerce

  • @youtuber9991
    @youtuber9991 6 месяцев назад +7

    FYI all your audio is on the left channel

    • @bridgertower
      @bridgertower  6 месяцев назад +3

      Thanks for catching. Will reupload

  • @jesuzbo.
    @jesuzbo. 6 месяцев назад

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

    • @bridgertower
      @bridgertower  2 месяца назад

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

  • @MatheusPereira-nn9dj
    @MatheusPereira-nn9dj 5 месяцев назад

    awsome

  • @thecajunchopin
    @thecajunchopin 5 месяцев назад

    what the hell is this lol. that's baller

  • @phpmeras4809
    @phpmeras4809 5 месяцев назад +1

    Is it possibe to add woommerce to?

  • @techjavaid6177
    @techjavaid6177 5 месяцев назад +2

    Does it support woo commerce

    • @Максим-в5п4и
      @Максим-в5п4и Месяц назад +1

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

  • @SerhatDemirkan
    @SerhatDemirkan 6 месяцев назад

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

    • @ukaszrozewicz7488
      @ukaszrozewicz7488 6 месяцев назад +1

      Even Google drops amp development, it is outdated solution

    • @SerhatDemirkan
      @SerhatDemirkan 6 месяцев назад

      @@ukaszrozewicz7488 but i need for a while

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

    • @matiujmatiu
      @matiujmatiu 5 месяцев назад +1

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

  • @astronautonmars
    @astronautonmars 10 дней назад

    What about SEO? Headers and metatags?

    • @bridgertower
      @bridgertower  7 дней назад

      Yes all generated for you using Next.js!

  • @22thag6
    @22thag6 6 месяцев назад

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

    • @emilianoborzelli9774
      @emilianoborzelli9774 6 месяцев назад +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;
      }