5 Comments

  1. Ricardo
    · Reply

    I know this is the way it’s going but for me it’s a bit strange to discard CSS or change it’s range of influence to JSON.
    I think I understand the flexibility but is it best for a developer?
    CSS will (should?) always be the style file of the web – which, for me, has proved to be a solid HTML + CSS + JS + Server Side Language (PHP :) ‘block pattern’.
    I imagined it could be easier to break [CSS] it into different levels of utility (Core, Theme, Pattern, Edit, Blocks, etc?) and then WP would bundle it as necessary.
    I would also mention that a Theme for me acts more like a behavior controller of dynamic content and a Pattern a layout controller of blocks.
    When blocks get dynamic (fully playing with the database) maybe they become one..?

    Sorry for these messy thoughts but I’m not that much inside WP architecture and I find these moments so interesting to learn.
    And this block Era a particular one.

    Report

  2. Nick Diego
    · Reply

    If anyone is working on block-based themes and have upgraded to v9.9, you will likely experience issues, notably your theme styles not showing up in the Site Editor. Note the two PRs below. Hopefully this will save someone else the hours I spent thinking I was doing something wrong with the experimental-theme.json 😉

    https://github.com/WordPress/gutenberg/pull/28731
    https://github.com/WordPress/gutenberg/pull/28792

    Things are getting fixed and hopefully we will have v9.9.1 soon!

    Report

  3. Jacques Surveyerr
    · Reply

    The success of WordPress in the CMS market (nearly 40 percent market share) has been predicated on “No coding required as use of smart templates and blocks fit together by natural drag and drop operations”. But the reality has been that UI Designers with knowledge of first HTML, then CSS, and now JSON and snippets of Javascript will be at significant advantage in creating their designs. In effect, WP is becoming pseudo no coding required and definitely “know where all the magic buttons and Easter eggs are hidden!!”

    Report

    • Andrew
      · Reply

      Sorry, cannot agree with you.

      With the Site Editor, one can quite easily create the templates and global styles without touching a single line of code, or even knowing what the generated code does.

      Want to export your design as a theme? You simply export the templates and the global styles. The html templates and the JSON file for the styles are generated for you on export.

      The previous advantage has now been narrowed greatly.

      Report

    • Dany
      · Reply

      “No coding required as use of smart templates and blocks fit together by natural drag and drop operations”. I guess these links have an exception when advanced usage is in picture

      Report

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: