Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はオープン ソースの PHP CMS を使用しており、メニュー項目ごとにサイド モジュールを表示/非表示にできます。私が抱えている問題は、メニュー項目の一部ではないページでモジュールを表示/非表示にしたい (つまり、登録プロセスのステップ 2) ことであり、それは CMS が提供する機能ではありません。
URL パラメータで CSS クラスを表示/非表示にするにはどうすればよいですか?
$_GETでこれを行うことができます
<?php if(isset($_GET['param']) && $_GET['param'] ==youwant){ ?> //css <?php } ?>