{"id":777,"date":"2017-11-03T08:18:24","date_gmt":"2017-11-02T23:18:24","guid":{"rendered":"https:\/\/akamist.com\/blog\/?p=777"},"modified":"2017-11-03T11:03:45","modified_gmt":"2017-11-03T02:03:45","slug":"wordpress%e3%83%86%e3%83%bc%e3%83%9eunderscores%e3%81%a7%e3%80%81_s_entry_footer%e3%81%8c%e5%ae%9a%e7%be%a9%e3%81%95%e3%82%8c%e3%81%a6%e3%81%84%e3%82%8b%e5%a0%b4%e6%89%80%e3%81%af%e3%81%a9","status":"publish","type":"post","link":"https:\/\/akamist.com\/blog\/archives\/777","title":{"rendered":"[WordPress]\u30c6\u30fc\u30deUnderscores\u3067\u3001_s_entry_footer()\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u6240\u306f\u3069\u3053?"},"content":{"rendered":"<p>WordPress\u306e\u30c6\u30fc\u30de\u3067\u3042\u308bUnderscores\u3067\u306f\u3001\u30d5\u30c3\u30bf\u306e\u8868\u793a\u3067\u4e0b\u8a18\u306e\u3088\u3046\u306b_s_entry_footer()\u95a2\u6570\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;footer class=\"entry-footer\"&gt;\n    &lt;?php _s_entry_footer(); ?&gt;\n&lt;\/footer&gt;&lt;!-- .entry-footer --&gt;\n<\/code><\/pre>\n<p>\u3067\u3059\u304c\u3001\u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u306f\u305a\u306efunctions.php\u3092\u898b\u3066\u3082\u3001\u3053\u306e\u95a2\u6570\u306f\u5b58\u5728\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<p>\u3069\u3053\u306b\u3042\u308b\u304b\u3067\u3059\u304c\u3001 inc\/template-tags.php\u3092\u898b\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">\/**\n * Prints HTML with meta information for the categories, tags and comments.\n *\/\nfunction _s_entry_footer() {\n    \/\/ Hide category and tag text for pages.\n    if ( 'post' === get_post_type() ) {\n        \/* translators: used between list items, there is a space after the comma *\/\n        $categories_list = get_the_category_list( esc_html__( ', ', '_s' ) );\n        if ( $categories_list &amp;&amp; _s_categorized_blog() ) {\n            printf( '&lt;span class=\"cat-links\"&gt;' . esc_html__( '\u30ab\u30c6\u30b4\u30ea: %1$s', '_s' ) . '&lt;\/span&gt;', $categories_list ); \/\/ WPCS: XSS OK.\n        }\n\n        \/* translators: used between list items, there is a space after the comma *\/\n        $tags_list = get_the_tag_list( '', esc_html__( ', ', '_s' ) );\n        if ( $tags_list ) {\n            printf( ' | &lt;span class=\"tags-links\"&gt;' . esc_html__( '\u30bf\u30b0: %1$s', '_s' ) . '&lt;\/span&gt;', $tags_list ); \/\/ WPCS: XSS OK.\n        }\n    }\n\n    if ( ! is_single() &amp;&amp; ! post_password_required() &amp;&amp; ( comments_open() || get_comments_number() ) ) {\n        echo ' | &lt;span class=\"comments-link\"&gt;';\n        \/* translators: %s: post title *\/\n        comments_popup_link( sprintf( wp_kses( __( '\u30b3\u30e1\u30f3\u30c8\u3092\u6b8b\u3059&lt;span class=\"screen-reader-text\"&gt; on %s&lt;\/span&gt;', '_s' ), array( 'span' =&gt; array( 'class' =&gt; array() ) ) ), get_the_title() ) );\n        echo '&lt;\/span&gt;';\n    }\n\n    edit_post_link(\n        sprintf(\n            \/* translators: %s: Name of current post *\/\n            esc_html__( 'Edit %s', '_s' ),\n            the_title( '&lt;span class=\"screen-reader-text\"&gt;\"', '\"&lt;\/span&gt;', false )\n        ),\n        ' | &lt;span class=\"edit-link\"&gt;',\n        '&lt;\/span&gt;'\n    );\n}\n<\/code><\/pre>\n<p>Underscoresds\u3067\u306f\u3001functions.php\u4ee5\u5916\u306b\u3082inc\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u7fa4\u306b\u3082\u95a2\u6570\u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u30c6\u30fc\u30de\u3067\u3042\u308bUnderscores\u3067\u306f\u3001\u30d5\u30c3\u30bf\u306e\u8868\u793a\u3067\u4e0b\u8a18\u306e\u3088\u3046\u306b_s_entry_footer()\u95a2\u6570\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002 &lt;footer class=\"entry-footer\"&gt; &#038; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":795,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[99,58],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/akamist.com\/blog\/wp-content\/uploads\/2017\/11\/icon_wordpress.png","jetpack-related-posts":[{"id":3304,"url":"https:\/\/akamist.com\/blog\/archives\/3304","url_meta":{"origin":777,"position":0},"title":"MongoDB\u3067\"ReferenceError: getNextSequence is not defined\"\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u6642","date":"2018\u5e7411\u67084\u65e5","format":false,"excerpt":"MongoDB\u3092\u4f7f\u7528\u3057\u3066\u3044\u3066\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u306b\u3042\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30da\u3057\u3066\u5b9f\u884c\u3059\u308b\u3068\u3001Refer\u2026","rel":"","context":"MongoDB","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2018\/06\/icon_mongodb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":380,"url":"https:\/\/akamist.com\/blog\/archives\/380","url_meta":{"origin":777,"position":1},"title":"[PHP]\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u3067define\u5b9a\u7fa9\u3055\u308c\u305f\u5b9a\u6570\u3092\u8abf\u3079\u308b\u65b9\u6cd5","date":"2017\u5e747\u670828\u65e5","format":false,"excerpt":"PHP\u3067\u306f\u3001define()\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u5b9a\u6570\u3092\u4f5c\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002 \u5b9a\u6570\u3092\u5207\u3063\u3066\u304a\u304f\u3068\u4fbf\u5229\u306a\u306e\u3067\u2026","rel":"","context":"PHP","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/10\/icon_php.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":746,"url":"https:\/\/akamist.com\/blog\/archives\/746","url_meta":{"origin":777,"position":2},"title":"[WordPress]Underscores\u30c6\u30fc\u30de(_s)\u3092\u4f7f\u7528\u6642\u3001\u500b\u5225\u8a18\u4e8b\u3067\"\u524d\u8a18\u4e8b\",\"\u6b21\u8a18\u4e8b\"\u306e\u30ea\u30f3\u30af\u3092\u524a\u9664\u3059\u308b","date":"2017\u5e7410\u670830\u65e5","format":false,"excerpt":"WordPress\u306e\u30c6\u30fc\u30de\u3001Underscores(_s)\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u6642\u306b\u3001\u500b\u5225\u306e\u8a18\u4e8b\u30da\u30fc\u30b8\u3067\"\u524d\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/11\/icon_wordpress.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":418,"url":"https:\/\/akamist.com\/blog\/archives\/418","url_meta":{"origin":777,"position":3},"title":"[PHP]\u5f15\u6570\u306bint\u53c8\u306fnull\u3092\u8a31\u5bb9\u3059\u308b\u95a2\u6570\u3092\u4f5c\u308b(\u30bf\u30a4\u30d7\u30d2\u30f3\u30c6\u30a3\u30f3\u30b0\u3001PHPDoc\u30b3\u30e1\u30f3\u30c8)","date":"2017\u5e748\u67087\u65e5","format":false,"excerpt":"PHP\u3067\u3001\u6e21\u3055\u308c\u305f\u30d1\u30e9\u30e1\u30fc\u30bf\u306e\u578b\u304cint\u307e\u305f\u306fnull\u3067\u3042\u308b\u3053\u3068\u3092\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u8868\u660e\u3059\u308b\u305f\u3081\u306e\u8868\u8a18\u65b9\u2026","rel":"","context":"PHP","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/10\/icon_php.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1651,"url":"https:\/\/akamist.com\/blog\/archives\/1651","url_meta":{"origin":777,"position":4},"title":"[WordPress] Underscores\u30c6\u30fc\u30de\u3067\u691c\u7d22\u7d50\u679c\u30da\u30fc\u30b8\u306b\u51fa\u529b\u3055\u308c\u308b\"Search Results for:\"\u306e\u8868\u8a18\u3092\u5909\u66f4\u3059\u308b\u3002","date":"2017\u5e7412\u670817\u65e5","format":false,"excerpt":"WordPress\u306eUnderscores\u30c6\u30fc\u30de\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3068\u3001\u30b5\u30a4\u30c8\u5185\u691c\u7d22\u3092\u884c\u3046\u3068\u30da\u30fc\u30b8\u306e\u30bf\u30a4\u30c8\u2026","rel":"","context":"\u672a\u5206\u985e","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2017\/11\/icon_wordpress.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2849,"url":"https:\/\/akamist.com\/blog\/archives\/2849","url_meta":{"origin":777,"position":5},"title":"[python]tf\/idf\u51e6\u7406\u3092\u884c\u3046TfidfTransformer()\u95a2\u6570\u306e\u4ed5\u69d8","date":"2018\u5e745\u670829\u65e5","format":false,"excerpt":"python\u306escikit-learn\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u306f\u3001tf\/idf\u51e6\u7406\u3092\u884c\u3046TfidfVectori\u2026","rel":"","context":"python","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/akamist.com\/blog\/wp-content\/uploads\/2018\/05\/icon_python.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/777"}],"collection":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/comments?post=777"}],"version-history":[{"count":1,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/777\/revisions"}],"predecessor-version":[{"id":778,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/posts\/777\/revisions\/778"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/media\/795"}],"wp:attachment":[{"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/media?parent=777"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/categories?post=777"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akamist.com\/blog\/wp-json\/wp\/v2\/tags?post=777"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}