{"id":1604,"date":"2016-05-22T15:48:11","date_gmt":"2016-05-22T06:48:11","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=1604"},"modified":"2016-06-02T15:51:02","modified_gmt":"2016-06-02T06:51:02","slug":"%e5%9b%ba%e5%ae%9a%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ab%e3%82%bd%e3%83%bc%e3%82%b7%e3%83%a3%e3%83%ab%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%92%e8%bf%bd%e5%8a%a0%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=1604","title":{"rendered":"\u56fa\u5b9a\u30da\u30fc\u30b8\u306b\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u3092\u8ffd\u52a0\u3059\u308b"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u3092\u56fa\u5b9a\u30da\u30fc\u30b8\u306b\u3082\u8868\u793a\u3055\u305b\u305f\u3044<\/h4>\n<p>\u8a18\u4e8b\u30da\u30fc\u30b8\u306b\u306f\u3001\u5404\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u306e\u8a2d\u5b9a\u304c\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u3088\u308a\u53ef\u80fd\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u3082\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u7b87\u6240\u3092\u7de8\u96c6\u3057\u307e\u3059<\/h4>\n<p>INNOVATE HACK\u3067\u306f\u3001\u6570\u7a2e\u985e\u306e\u56fa\u5b9a\u30da\u30fc\u30b8\u3092\u3054\u7528\u610f\u3057\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306fNoside\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u3066\u3054\u8aac\u660e\u81f4\u3057\u307e\u3059\u3002<\/p>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>page-noside.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;?php\r\n\/*\r\nTemplate Name:No side\r\n*\/\r\n?&gt;\r\n&lt;?php get_header(); $options = get_desing_plus_option(); ?&gt;\r\n&lt;div id=&quot;main_col&quot;&gt;\r\n &lt;div id=&quot;main_contents&quot; class=&quot;clearfix&quot;&gt;\r\n  &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;\r\n  &lt;h2 class=&quot;post_title&quot; id=&quot;page_title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\r\n  &lt;div class=&quot;post_content clearfix&quot;&gt;\r\n   &lt;?php the_content(__('Read more', 'tcd-w')); ?&gt;\r\n   &lt;?php custom_wp_link_pages(); ?&gt;\r\n  &lt;\/div&gt;\r\n  &lt;?php if ($options&#x5B;'show_comment']) : if (function_exists('wp_list_comments')) { comments_template('', true); } else { comments_template(); }; endif; ?&gt;\r\n  &lt;?php endwhile; endif; ?&gt;\r\n &lt;\/div&gt;&lt;!-- END #main_contents --&gt;\r\n&lt;\/div&gt;&lt;!-- END #main_col --&gt;\r\n&lt;?php get_footer(); ?&gt;<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;?php\r\n\/*\r\nTemplate Name:No side\r\n*\/\r\n?&gt;\r\n&lt;?php get_header(); $options = get_desing_plus_option(); ?&gt;\r\n\r\n&lt;div id=&quot;main_col&quot;&gt;\r\n\r\n &lt;div id=&quot;main_contents&quot; class=&quot;clearfix&quot;&gt;\r\n\r\n  &lt;?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;\r\n\r\n  &lt;h2 class=&quot;post_title&quot; id=&quot;page_title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\r\n\r\n  &lt;div class=&quot;post_content clearfix&quot;&gt;\r\n   &lt;?php if($options&#x5B;'show_sns_top']) { include('sns_btn_top.php'); };?&gt; \r\n   &lt;?php the_content(__('Read more', 'tcd-w')); ?&gt;\r\n   &lt;?php if($options&#x5B;'show_sns_btm']) { include('sns_btn_btm.php'); };?&gt;\r\n   &lt;?php custom_wp_link_pages(); ?&gt;\r\n  &lt;!-- author info--&gt;\r\n   &lt;?php\r\n    \/\/ author info *******************************************************************************\r\n    if ($page == $numpages) :\r\n     if (function_exists('get_coauthors')) {\r\n      $author_ids = get_coauthors($post-&gt;ID);\r\n     } else {\r\n      $author_ids = array(get_the_author_meta('ID'));\r\n     }\r\n     foreach($author_ids as $_row) :\r\n      if (!empty($_row-&gt;ID)) {\r\n        $author_id = $_row-&gt;ID;\r\n      } elseif (is_numeric($_row)) {\r\n        $author_id = asbint($_row);\r\n      } else {\r\n        continue;\r\n      }\r\n      $user_data = get_userdata($author_id);\r\n      if (!$user_data-&gt;show_author) continue;\r\n   ?&gt;\r\n   &lt;div class=&quot;author_info clearfix&quot;&gt;\r\n    &lt;a class=&quot;author_info_avatar&quot; href=&quot;&lt;?php echo get_author_posts_url($author_id); ?&gt;&quot;&gt;&lt;?php echo get_avatar($author_id, 70); ?&gt;&lt;\/a&gt;\r\n    &lt;div class=&quot;author_info_meta clearfix&quot;&gt;\r\n     &lt;h4 class=&quot;author_info_name&quot;&gt;&lt;a href=&quot;&lt;?php echo get_author_posts_url($author_id); ?&gt;&quot;&gt;&lt;?php echo esc_html($user_data-&gt;display_name); ?&gt;&lt;\/a&gt;&lt;?php if($user_data-&gt;post_name) { ?&gt;&lt;span class=&quot;author_info_name2&quot;&gt;&lt;?php echo esc_html($user_data-&gt;post_name); ?&gt;&lt;\/span&gt;&lt;?php }; ?&gt;&lt;\/h4&gt;\r\n     &lt;a class=&quot;author_info_link&quot; href=&quot;&lt;?php echo esc_attr(get_author_posts_url($author_id)); ?&gt;&quot;&gt;&lt;?php _e(&quot;Author archive&quot;,&quot;tcd-w&quot;); ?&gt;&lt;\/a&gt;\r\n     &lt;?php if($user_data-&gt;profile2) { ?&gt;\r\n     &lt;div class=&quot;author_info_desc&quot;&gt;\r\n      &lt;?php echo wpautop($user_data-&gt;profile2); ?&gt;\r\n     &lt;\/div&gt;\r\n     &lt;?php }; ?&gt;\r\n\r\n\r\n     &lt;?php if($user_data-&gt;author_twitter or $user_data-&gt;author_facebook) { ?&gt;\r\n     &lt;ul class=&quot;author_social_link clearfix&quot;&gt;\r\n      &lt;?php if($user_data-&gt;user_url) { ?&gt;&lt;li class=&quot;author_link&quot;&gt;&lt;a href=&quot;&lt;?php echo esc_attr($user_data-&gt;user_url); ?&gt;&quot; target=&quot;_blank&quot;&gt;WEB&lt;\/a&gt;&lt;\/li&gt;&lt;?php }; ?&gt;\r\n      &lt;?php if($user_data-&gt;author_twitter) { ?&gt;&lt;li class=&quot;twitter&quot;&gt;&lt;a href=&quot;&lt;?php echo esc_attr($user_data-&gt;author_twitter); ?&gt;&quot; target=&quot;_blank&quot;&gt;Twitter&lt;\/a&gt;&lt;\/li&gt;&lt;?php }; ?&gt;\r\n      &lt;?php if($user_data-&gt;author_facebook) { ?&gt;&lt;li class=&quot;facebook&quot;&gt;&lt;a href=&quot;&lt;?php echo esc_attr($user_data-&gt;author_facebook); ?&gt;&quot; target=&quot;_blank&quot;&gt;Facebook&lt;\/a&gt;&lt;\/li&gt;&lt;?php }; ?&gt;\r\n     &lt;\/ul&gt;\r\n     &lt;?php }; ?&gt;\r\n\r\n    &lt;\/div&gt;&lt;!-- END author_meta --&gt;\r\n   &lt;\/div&gt;&lt;!-- END .author_info --&gt;\r\n   &lt;?php\r\n     endforeach;\r\n    endif;\r\n   ?&gt;\r\n  &lt;\/div&gt;\r\n\r\n  &lt;?php if ($options&#x5B;'show_comment']) : if (function_exists('wp_list_comments')) { comments_template('', true); } else { comments_template(); }; endif; ?&gt;\r\n\r\n  &lt;?php endwhile; endif; ?&gt;\r\n\r\n &lt;\/div&gt;&lt;!-- END #main_contents --&gt;\r\n\r\n&lt;\/div&gt;&lt;!-- END #main_col --&gt;\r\n\r\n&lt;?php get_footer(); ?&gt;<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u3092\u56fa\u5b9a\u30da\u30fc\u30b8\u306b\u3082\u8868\u793a\u3055\u305b\u305f\u3044 \u8a18\u4e8b\u30da\u30fc\u30b8\u306b\u306f\u3001\u5404\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u306e\u8a2d\u5b9a\u304c\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u3088\u308a\u53ef\u80fd\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u3082\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u3092\u3064\u3051\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3057\u3087\u3046\u304b\u3002 A.\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[85,67],"class_list":["post-1604","post","type-post","status-publish","format-standard","hentry","category-tcd025","tag-social-button","tag-page"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/1604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1604"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/1604\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}