Re: 画像メニューの作り方
2012年5月10日 at 15:15
「ページとテーマ」>「ページタイプ」>「ページ属性情報追加」
最新版では管理画面の「ページ & テーマ」>「属性」です。
ページ編集画面の「ページ設定」>「カスタム項目」
最新版ではツールバーの「編集」にマウスを乗せると表示されるメニューの「設定」>「カスタム属性」です。
$picOn = $_c->getAttribute('pic_on');
$picOff = $_c->getAttribute('pic_off');
最新版ではこう書き換えてください
$page = Page::getCurrentPage();
$picOn = $page->getAttribute('pic_on');
$picOff = $page->getAttribute('pic_off');
タグ:
Your post has been saved and will be published after approval by the forum moderator.