What is Headless WordPress?

Поділитися
Вставка
  • Опубліковано 28 лют 2020
  • What is Headless WordPress in under 5 minutes (with examples!).
    Are you as psyched about Headless WP as I am? Let me know in the comments!
    Say what's up on Twitter: / coding4tacos
  • Наука та технологія

КОМЕНТАРІ • 23

  • @CristianKirk
    @CristianKirk Рік тому +5

    I know I'm late to the party, but I just heard about this and it's just amazing. Over the years Worpress had become very code-unfriendly.Being able to get wp content and display it however you want without dealing with wp templates is almost a dream come true.

  • @kfairris6081
    @kfairris6081 3 роки тому +1

    Very helpful explanation! Thanks!

  • @samirsamir7779
    @samirsamir7779 3 роки тому +1

    Great simple explanations ,thank you , much more please

  • @webdev100
    @webdev100 10 місяців тому

    Thank you so much bro, you explained it in a very simple way.

  • @flinskikun
    @flinskikun 3 роки тому

    I need more of this

  • @OsamaAbdullah-zs4vz
    @OsamaAbdullah-zs4vz Рік тому

    I dont know about wordpress. but your explanation so helpful for me. thanks

  • @puturro
    @puturro 3 роки тому

    cool! thanks. you think it's possible to have a WP Admin Toolbar showing up in the decoupled front end app? still trying to figure out how to pull that off

  • @palomarAI
    @palomarAI 4 роки тому +2

    I wonder if there's SEO concerns that are specific to headless Wordpress, I'll have to look into it. For sure it extends the reach of WordPress and opens up a new world of front end design possibilities it seems at first glance.

    • @coding4tacos385
      @coding4tacos385  4 роки тому +3

      That's a good point, and it would depend on what is being used on the front end. There are lots of good articles and blog posts on SEO for JavaScript frameworks.

  • @FrankGP.com.
    @FrankGP.com. Рік тому

    thankyou for explacation

  • @skbshubham
    @skbshubham 3 роки тому

    Hello Taylor! Will I still require Autoptimize/WpRocket like caching and JS/CSS optimization plugins with this type of headless wordpress?

    • @coding4tacos385
      @coding4tacos385  3 роки тому +1

      Hello! No, you wouldn't need those plugins because the frontend and backend of the website would be completely separate.

  • @Shuyinz
    @Shuyinz 4 роки тому +2

    Question! Why should I use React + Gatsby as headless CMS when I could just use what the Wordpress that can already offer as it is? I just can't wrap this out of my head. I just feel adding React + Gatsby is just overkilling the working process.

    • @coding4tacos385
      @coding4tacos385  4 роки тому +3

      Sorry for my slow response. I have since fixed my notifications. This is a good question. There are many reasons someone might want to do this. Recently, I think one of the big reasons is speed. A Gatsby site will be much faster than a WordPress site. Others might have an existing JavaScript application and they want to add a blog or something else to that application, so they would use WordPress as a CMS for the blog's content. A website using a JS framework will feel more like an app, and a WordPress site generally feels more like a traditional website.

  • @raquelocasio8588
    @raquelocasio8588 3 роки тому

    So does this mean that I don't have to use templates written in PHP to display WordPress data? If so then a theme is no longer necessary, right?

    • @coding4tacos385
      @coding4tacos385  3 роки тому

      Yes, that's exactly right. You could use Vue on the frontend, for example. A theme is technically still needed on the WP side, but it wouldn't affect the frontend.

  • @philipbeauford
    @philipbeauford 3 роки тому

    Great video! Can you please let me know how you got your Typing Effect to center on mobile? Im using span with inline-block (in Elementor widget) but it will not center itself on mobile. Looks fine on desktop, bad on mobile and I dont get it.

    • @coding4tacos385
      @coding4tacos385  3 роки тому

      Thanks! it would be different for you since you are using Elementor and I used a React library. I'm sure it can be fixed with CSS, though. Feel free to send me the link if you want

    • @philipbeauford
      @philipbeauford 3 роки тому

      @@coding4tacos385 ​Thanks so much for the help.. philipbeauford.com ya I tried display:flex; justify-content: center; & a few other css combos and didnt work for me. The shortcode is simply placed in a span tag atm, centers fine on desktop no matter what css is used, just not on mobile.

    • @philipbeauford
      @philipbeauford 3 роки тому

      Figured this out, was a width issue. Thanks for offering to help.

  • @omrtheater7244
    @omrtheater7244 Рік тому

    This is a little bit confusing. Headless means having no frontend and using the backend content management system, Wordpress's backend is written in PHP. You say we don't need PHP, but it comes already within the Wordpress backend and you have no option to change that.

    • @russellstrauss
      @russellstrauss Рік тому +1

      Headless means the site data is delivered via json which can be interpreted by the front end for more complex frontend interfaces instead of delivering pre-generated markup that is constructed by the backend server.
      So to oversimplify, headless means no backend, only frontend. This allows for more complex frontend user interfaces, more complex interactivity with the site's data, and less dependence on how the backend delivers the data, because it's only delivering the data instead of a whole page's content that was pre-generated on the backend before arriving to the browser.

  • @JerryAgenyi
    @JerryAgenyi Рік тому

    "/wp-json/wp/v2/posts"