{"id":198212,"date":"2015-01-06T12:39:35","date_gmt":"2015-01-06T03:39:35","guid":{"rendered":"https:\/\/ja.wordpress.org\/support\/2015\/01\/06\/wp-over-network%e3%80%80%e8%a8%98%e4%ba%8b%e6%8a%9c%e7%b2%8b%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%95%e3%81%9b%e3%81%9f%e3%81%84\/"},"modified":"2015-01-06T12:39:35","modified_gmt":"2015-01-06T03:39:35","slug":"wp-over-network%e3%80%80%e8%a8%98%e4%ba%8b%e6%8a%9c%e7%b2%8b%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%95%e3%81%9b%e3%81%9f%e3%81%84","status":"closed","type":"topic","link":"https:\/\/ja.wordpress.org\/support\/topic\/wp-over-network%e3%80%80%e8%a8%98%e4%ba%8b%e6%8a%9c%e7%b2%8b%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%95%e3%81%9b%e3%81%9f%e3%81%84\/","title":{"rendered":"WP Over Network\u3000\u8a18\u4e8b\u629c\u7c8b\u3092\u8868\u793a\u3055\u305b\u305f\u3044"},"content":{"rendered":"<p>WP Over Network\u3092\u30d7\u30e9\u30b0\u30a4\u30f3\u3067\u5c0e\u5165\u3057\u3066<br \/>\n\u56fa\u5b9a\u30da\u30fc\u30b8\u306b\u30b7\u30e7\u30fc\u30c8\u30b3\u30fc\u30c9\u3067\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u30fb\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u30fbURL\u3092<br \/>\n\u30d7\u30e9\u30b0\u30a4\u30f3\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5165\u3063\u3066\u3044\u305farchive-simple.php\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5c11\u3057<br \/>\n\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u4f7f\u7528\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u3001\u8868\u8a18\u3082\u554f\u984c\u306a\u304f\u5229\u7528\u3067\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u3001\u5404\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u306e\u8a18\u4e8b\u629c\u7c8b(\u3082\u3057\u304f\u306f\u8a18\u4e8b\u306e\u5185\u5bb9)\u3092\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3068URL\u306e\u9593\u306b\u8868\u8a18\u3055\u305b\u305f\u3044\u3068\u601d\u3044<br \/>\n\u9811\u5f35\u308a\u307e\u3057\u305f\u304c\u3001\u3069\u3046\u3082\u3046\u307e\u304f\u3044\u304b\u305a\u3001\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3057\u305f\u3089<br \/>\n\u304a\u52a9\u3051\u3044\u305f\u3060\u3051\u306a\u3044\u3067\u3057\u3087\u3046\u304b?<\/p>\n<pre><code>&lt;div class=&quot;entry&quot;&gt;\n&lt;?php\nglobal $post;\nforeach ( $posts as $post ):\n\tswitch_to_blog( $post-&gt;blog_id );\n\t$post = get_post( $post-&gt;ID );\n\t$the_date = mysql2date( get_option( &#039;date_format&#039; ), $post-&gt;post_date );\n\n?&gt;\n\n&lt;?php $count = 1; \/\/\u30eb\u30fc\u30d7\u56de\u6570\u3092\u5165\u308c\u308b\u5909\u6570 ?&gt;\n&lt;?php\n        \/\/4\u756a\u76ee\u3060\u3063\u305f\u3089class=right0\u3001\u305d\u308c\u4ee5\u5916\u306f\u30af\u30e9\u30b9\u306a\u3057\n        if ($count%4 == 0) {\n            echo &#039;&lt;div class=&quot;right0&quot;&gt;&#039;;\n        } else {\n            echo &#039;&lt;div&gt;&#039;;\n        }\n    ?&gt;\n&lt;?php if ( current_theme_supports( &#039;post-thumbnails&#039;, $post-&gt;post_type ) ): ?&gt;\n\t\t&lt;div class=&quot;wponw-post-thumbnail&lt;?php ! has_post_thumbnail( $post-&gt;ID ) and print(&#039; no-thumbnail&#039;)\n\t\t\t?&gt;&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot; title&quot;&lt;\/php the_title_attribute(); ?&gt;&lt;?php the_post_thumbnail(array(135, 160)); ?&gt;&lt;\/a&gt;&lt;\/div&gt;\n\n&lt;?php endif; ?&gt;\n\n\t\t&lt;span class=&quot;wponw-separator&quot;&gt;-&lt;\/span&gt;\n\t\t&lt;a class=&quot;wponw-post-title&quot; href=&quot;&lt;?php\n\t\t\techo esc_url( get_permalink( $post-&gt;ID ) ) ?&gt;&quot; title=&quot;&lt;?php\n\t\t\techo esc_attr( get_the_title( $post ) ) ?&gt;&quot;&gt;&lt;?php echo esc_html( get_the_title( $post ) ) ?&gt;&lt;\/a&gt;&lt;\/br&gt;\n\n&lt;?php if ( $show_date ) : ?&gt;\n\t\t&lt;span class=&quot;post-date wponw-post-date&quot;&gt;&lt;?php echo apply_filters( &#039;get_the_date&#039;, $the_date ) ?&gt;&lt;\/span&gt;\n&lt;?php endif; ?&gt;\n\n\t&lt;a class=&quot;wponw-blog-name&quot; href=&quot;&lt;?php echo home_url(); ?&gt;&quot;&gt;&lt;font color=&quot;#4169e1&quot;&gt;&lt;?php echo get_bloginfo( &#039;name&#039; ); ?&gt;&lt;\/font&gt;&lt;\/a&gt;&lt;\/br&gt;\n&lt;\/div&gt;&lt;?php $count++; \/\/\u6700\u5f8c\u306b\u30eb\u30fc\u30d7\u56de\u6570\u3092\u4e00\u3064\u9032\u3081\u308b ?&gt;\n&lt;?php\n\trestore_current_blog();\nendforeach;\n?&gt;\n&lt;\/div&gt;<\/code><\/pre>\n<p><code>show_date\u306f\u8868\u8a18\u3055\u305b\u306a\u3044\u306e\u3067\u305d\u306e\u90e8\u5206\u306b&lt;?php the_excerpt(); ?&gt;<\/code>\u3092\u4f7f\u3063\u3066\u307f\u307e\u3057\u305f\u304c<br \/>\n\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u629c\u7c8b\u304c\u8868\u8a18\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f55\u304b\u826f\u3044\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"template":"","class_list":["post-198212","topic","type-topic","status-closed","hentry","topic-tag-16866","topic-tag-wp-over-network"],"jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/198212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/topic\/198212\/revisions"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=198212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}