• emulsion theme ver 2.6.9

    Scheduled to be released in mid-April 2023 Important change Remove the customizer theme scheme FSE Transitional. FSE Transitional mode was to embed blocks in PHP templates to enable the old settings “mainly, classic theme sidebars, etc.” . In the emulsion theme, it is already possible to place the sidebar in the “editor”, and the sidebar…

  • WordPress 6.2 and Emulsion Theme

    Starting with emulsion theme 2.6.7, WordPress 6.2 is required. Features of WordPress 6.2 外部リソース連携の強化 Block Patterns Directory Openverse WordPress 6.2 Expands Block Patterns Directory, Adds Openverse Image Search and Insert。 The emulsion theme’s response to this change Block Pattern openverse enhancements to the emulsion theme STYLE VARIATION What is STYLE VARIATION The variation displayed in…

  • About wordpress 6.2 and site editor additional css

    This article is based on WordPress 6.2bata1. WordPress 6.2 comes with a revamp of Additional CSS. In the case of block themes, the output position of Additional CSS in the head will change, so if you are using the Customizer’s Additional CSS, you may need to adjust the level of detail. In the case of…

  • Notice: PHP templates are now available in the full site editing theme.

    In emulsion ver2.6.1, when using the full site editing theme, in (customize/theme scheme/full site editing theme), named templates and page meta by template hierarchy such as category.php, archive.php, single.php Enables the use of informed page templates. requirements These templates must be placed in the fse-compatible-classic-template directory. It works as a PHP template specifically for the…

  • markdown example

    line break LF (WordPressのファイルは、LFで改行ですよね)changelog.txtをコピー ペーストすると、markdownはHTMLに変換されます。 == Changelog == = 14.6.1 = Changelog Fixes Global Styles Bug Fixes Contributors The following contributors merged PRs in this release: @oandregal @dmsnell 改行コードが、CR/LFの場合だと(githubは改行はCR/LFですよね)、以下のようにPreformatted blockとして張り付きます。markdownをHTML変換 としては張り付かなくなるという事を言いたかったです。 == Changelog == = 14.6.1 = ## Changelog ### Fixes #### Global Styles – Fix the `upgrader_process_complete` hook for `wp_theme_has_theme_json`. ([45881](https://github.com/WordPress/gutenberg/pull/45881)) – Update `wp_theme_has_theme_json` to…

  • emulsion Theme は変な奴

    一般的に、block theme ( full site editiong theme ) は、主にコアのCSSをうまく使って最小限度のCSSで構成されています。 最新のデフォルトテーマTwenty Thirteenでは、customizerも、functions.phpも使用しませんし、style.css を読み込むこともしません。 今までの常識は覆されたといってもいいのではないかと思います。 私自身は、特にWordPressのコミュニティーに深くかかわっているわけでもないので、WordPressの未来について知る由もないわけですが、 個人的には、ワードプレスのテーマ依存の問題を解決するプロジェクトのように見ています。ワードプレスのテーマ依存とは、「ワードプレスは、何らかのテーマファイルがないと機能しない。」という意味です。 おそらく将来的には、テーマは、プラグインのような位置づけとなると、予想しています。 おそらく、均一で同じような見た目のサイトが嫌いだとか、それじゃ伝わらないとか、需要や主張がなくなるわけないと思うので、デザインやレイアウトをコントロールする機能が全くなくなるという事はないんじゃないかと楽観的です。 HTMLやCSSの知識がない人でも、それなりに。それなりの知識を持った人たちは、さらに素晴らしいWEBサイトの構築ができるようになるのだろうと思っています。 emulsion テーマは、なにを考えているの? emulsion テーマは、最小限度のCSSで構成されているわけではなく、最低でも数千行のCSSを使用しています。 WordPress.orgにホスティングされているブロックテーマのほとんどは、コアのCSSをうまく使って最小限のCSSで構成されるため、コアのCSSのバグはほとんどのテーマで同様の不具合を生じさせます。その逆に素晴らしい部分も、CSSなしで自動的に反映します。 このような特性は、ホスティングブロックテーマの、推奨された「あるべき姿」のようです。 そのような中で、なぜemulsionは、大量のCSSを追加し続けているのか ブロックテーマは、クラッシックテーマとの互換性を考慮しない全く新しい機能を追求し続けているのに対し、emulsion テーマは、クラッシックテーマとブロックテーマの間の道のりに注目しているという立場の違いにあります。 CSSは、簡単に書ける割には破綻しやすい設定です。書けば書くほど、つじつまが合わなくなったり、矛盾が生じるので、ちょっと恥ずかしさも伴いますが、気にしないようにしています。 これまで、テーマでやってきたこと。 PHPテンプレートと、テーマのCSSでクラッシックテーマとして動作する機能 PHPテンプレートの中に、HTMLテンプレートを埋め込んで動作する機能 HTMLテンプレートを使用したフルサイトテーマ機能 いわゆるユニバーサルテーマといわれるタイプのテーマですが、どこにも見本もありませんし、ただ数年間壊れ果てることなく動作し続けているということが取り柄のテーマです。 もともとは、フルサイトエディタのプロジェクトの変化を観察するために作成したテーマだったのですが、現在では、必要な場所でPHPテンプレートを使用したり、クラッシックテーマで、HTMLテンプレートのヘッダーやフッターに切り替える機能など、別々の機能を融合させることも出来つつあります。 必要な時と場所で、PHPテンプレートでしかできない機能はPHPで、そうでない部分は、シンプルなHTMLテンプレートで、ブロックテーマと、クラッシックテーマ等と名前を使い分ける時代は、いつか終わり、相互に良いところを使い分け可能なスタイルになっているだろうと、emulsion (乳化)という名前に希望を託しています。 おまけ HTMLもCSSも知らないユーザーにフレンドリーなWordPressなら、HTMLやCSSをちょっと知っているユーザーにもフレンドリーであってほしい。と思っている では、クイズを一問 幅、800pxのブロックをカスタムHTMLブロックで作成してみましょう。 hello world 800px 幅のブロックができていると思いますが、一般的なブロックテーマではこのhtmlは、800pxで表示することはできないだろうと思います。仮にできたとしても、ブラウザ幅が800px以下になったら、オーバーフローしてしまいます。 (解決方法はもちろんあります。max-width:100% 追加すればいいだけなんだけど、widthという最も基本的なプロパティを指定すると、オーバーフローするっておかしいよね) プロジェクトの人たちは、明日そのような問題を解決すると考えているでしょうが、テーマは、今動くべきだと考えています。

  • WordPress 6.1 with emulsion theme

    Spacing function In WordPress 6.1, margin setting functions such as margin, padding, and gap have been enhanced. Note that the emulsion theme assigns a specific style to the margin setting. If you set margin-left and margin-right to 0, it will be displayed as auto. If you set values for margin-left and margin-right in the range…

  • Usage notes when customizing the header footer in the site editor

    This article is based on WordPress 6.0.2 gutenberg plugin 14.0.2. When you open your site editor, you should see the home template. If you click the replace button and change the header, all page headers will be replaced As for footers, footers on all pages are replaced in the same way. For the emulsion theme,…

  • BLOCK LAYOUT and how to use

    The Layout feature was redesigned in WordPress 6.1 and this article is out of date. wordpress 6.1 Theme layout – Emulsion Theme What is the layout function? When inherit default layout is turned ON, two fields, container and wide, are displayed. content overrides the width of none in the menu wide overrides the width of…