Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Custom Layout Type doesn't reflect in the Conditional Logic

オープン
#3,929 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
frontend, web-dev

調査の方向性

issue にはファイル、テスト、エントリーポイントが記載されていません。Single Post レイアウトと Page/About 条件を使用してモーダルとエディターのフローを再現し、利用可能な条件が選択したレイアウトと一致すること、また結果のレイアウトが該当するビューに表示されることを確認してください。

索引モデルが issue の本文から書いたものです。

説明

Hi there!

While working with the Custom Layouts, I noticed something that might be confusing. If I select from the modal a Single Post layout, when I enter the editor inside the conditional logic dropdown, I have all the options.
For example, even if I picked a Single Post layout, I can still insert a condition like Page is equal to About:
image
Then, when I go on the About page, of course, nothing appears:
image
And also, nothing appears when I open a single post either:
image

Do you think it would be better to control the conditions so that only the ones relevant to the templates to be visible?

主要言語
PHP
スター
307
フォーク
88
平均マージ
1日 23時間
マージ済み PR(30日)
14

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Codeinwp/neve のほかの issue

Codeinwp/neve の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。