以下な感じのselectとかを出力させとく。
仮に/mt-select.html
に設置するものとする。
(外部mtから書きだしてもいいし、あらかじめ準備しておいても)
<select>
<option>[select]</option>
<option>A</option>
<option>B</option>
<option>C</option>
`config`というテンプレート・モジュール名で、所属するウェブサイトに登録しておく | |
``` | |
<mt:Ignore> ============================== | |
- WebSite | |
</mt:Ignore> | |
<mt:BlogParentWebsite> | |
<$mt:WebsiteName setvar="WebsiteName"$> | |
<$mt:WebsiteURL setvar="WebsiteURL"$> |
以下な感じのselectとかを出力させとく。
仮に/mt-select.html
に設置するものとする。
(外部mtから書きだしてもいいし、あらかじめ準備しておいても)
<select>
<option>[select]</option>
<option>A</option>
<option>B</option>
<option>C</option>
<{* | |
# カラーミーの商品一覧で現在表示しているカテゴリーの親の子カテゴリーのみのリンクを出力する | |
*}> | |
<{assign var="parentID" value=$smarty.get.cbid}> | |
<!-- parentID : <{parentID} --> | |
<{assign var="childID" value=$smarty.get.csid}> |
<?php | |
/** | |
* 管理画面に独自JSを読み込む = コンパイルしたwp-admin.coffeeを管理画面に読ませる | |
*/ | |
function dashboard_custom_files(){ | |
// js読み込み - 依存ファイルにjQueryを指定 | |
// wp_enqueue_script( 'handle', ファイル, 依存関係, バージョン, trueでフッタで読み込み) |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
https://code.visualstudio.com/ から最新版をインストールする
インストールしたVS Codeを起動して以下を実行