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.
プロジェクトにマジック フィールド プラグインを使用しており、関連する 2 つのタイプ フィールドを作成しました。選択した投稿/ページ ID を取得したいと考えています。ここで立ち往生している私を助けてください。
ループ内で次のように言えます。
<?php echo get('field_name') ?>
field_name をフィールドの名前に置き換えます。これにより、その内容が出力されます。