{"id":1335,"date":"2011-11-18T03:41:44","date_gmt":"2011-11-17T18:41:44","guid":{"rendered":"http:\/\/codaholic.org\/?p=1335"},"modified":"2020-08-23T17:35:31","modified_gmt":"2020-08-23T08:35:31","slug":"movable-typemtif%e3%82%bf%e3%82%b0%e3%81%a7%e3%80%81%e3%81%82%e3%82%8b%e6%96%87%e5%ad%97%e5%88%97%e3%81%ab%e6%8c%87%e5%ae%9a%e3%81%97%e3%81%9f%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e5%90%ab%e3%81%be","status":"publish","type":"post","link":"https:\/\/codaholic.org\/?p=1335","title":{"rendered":"[Movable Type] MTIf \u30bf\u30b0\u3067\u3001\u3042\u308b\u6587\u5b57\u5217\u306b\u6307\u5b9a\u3057\u305f\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u5224\u5b9a\u3059\u308b"},"content":{"rendered":"<p>Movable Type \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bf\u30b0\u3067\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u4e2d\u306b\u3001\u6307\u5b9a\u306e\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u6761\u4ef6\u5206\u5c90\u3092\u3055\u305b\u305f\u3044\u6642\u306f MTIf \u30bf\u30b0\u306e like \u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u306f\u5909\u6570 hoge \u306b\u6587\u5b57\u5217\u300c\u3066\u306e\u304a\u300d\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u65ad\u3057\u307e\u3059\u3002hoge \u306b\u306f\u300c\u751f\u307e\u308c\u305f\u3066\u306e\u304a\u3063\u3055\u3093\u300d\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u51fa\u529b\u7d50\u679c\u306f\u300c\u542b\u307e\u308c\u307e\u3059\uff01\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code>&lt;MTSetVar name=\"hoge\" value=\"\u751f\u307e\u308c\u305f\u3066\u306e\u304a\u3063\u3055\u3093\"&gt;\n&lt;MTIf name=\"hoge\" like=\"\u3066\u306e\u304a\"&gt;\n&lt;p&gt;\u542b\u307e\u308c\u307e\u3059\uff01&lt;\/p&gt;\n&lt;MTElse&gt;\n&lt;p&gt;\u542b\u307e\u308c\u307e\u305b\u3093\uff01&lt;\/p&gt;\n&lt;\/MTIf&gt;\n<\/code><\/pre>\n<p>\u30d9\u30fc\u30b9\u30cd\u30fc\u30e0\u306b\u7279\u5b9a\u306e\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u308b\u30ab\u30c6\u30b4\u30ea\u306b\u6240\u5c5e\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3060\u3051\u9055\u3063\u305f\u51fa\u529b\u3092\u3057\u305f\u3044\u3068\u304d\u306a\u3069\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u8a00\u8a9e\u306e\u3088\u3046\u306a\u67d4\u8edf\u306a\u51e6\u7406\u304c\u66f8\u304d\u3065\u3089\u3044MT\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bf\u30b0\u306e\u4e2d\u3067\u306f\u91cd\u5b9d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Movable Type \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30bf\u30b0\u3067\u5bfe\u8c61\u306e\u6587\u5b57\u5217\u306e\u4e2d\u306b\u3001\u6307\u5b9a\u306e\u6587\u5b57\u5217\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3057\u3066\u6761\u4ef6\u5206\u5c90\u3092\u3055\u305b\u305f\u3044\u6642\u306f MTIf \u30bf\u30b0\u306e like \u30e2\u30c7\u30a3\u30d5\u30a1\u30a4\u30a2\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[10],"tags":[249],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8gd1W-lx","_links":{"self":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1335"}],"collection":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1335"}],"version-history":[{"count":4,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1335\/revisions"}],"predecessor-version":[{"id":2445,"href":"https:\/\/codaholic.org\/index.php?rest_route=\/wp\/v2\/posts\/1335\/revisions\/2445"}],"wp:attachment":[{"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1335"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1335"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codaholic.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}