{"id":10122,"date":"2014-11-27T23:46:44","date_gmt":"2014-11-27T17:46:44","guid":{"rendered":"http:\/\/devstech.com\/?p=10122"},"modified":"2026-02-08T03:29:32","modified_gmt":"2026-02-07T21:29:32","slug":"customize-post-info-function-genesis","status":"publish","type":"post","link":"https:\/\/www.usefulblogging.com\/customize-post-info-function-genesis\/","title":{"rendered":"How to Customize the Post Info Function in Genesis Theme?"},"content":{"rendered":"\n<p>Genesis Framework : In this short tutorial, you\u2019ll learn about how to <em>Customize the Post Info Function in Genesis<\/em>. The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Whether you\u2019re a novice or advanced developer, Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go. In Genesis powered websites you&#8217;ve to modify the child theme which is running on.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>These code snippets will help you&nbsp;to&nbsp;Customize the Post Info Function with the Genesis Framework.<span id=\"more-10108\"><\/span><span id=\"more-10095\"><\/span><span id=\"more-10093\"><\/span><span id=\"more-10091\"><\/span><span id=\"more-9949\"><\/span><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Unless otherwise indicated, the code snippets you see below should be placed into your theme\u2019s functions.php file.<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Customize the Post Info Function in Genesis<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong>Below is the code to Customize the Post Info Function:<\/strong><br><code><!--?php <br ?--> \/\/* Do NOT include the opening php tag<br>\n\/\/* Customize the post info function<br>\nadd_filter( 'genesis_post_info', 'sp_post_info_filter' );<br>\nfunction sp_post_info_filter($post_info) {<br>\nif ( !is_page() ) {<br>\n$post_info = '[ post_date] by [ post_author_posts_link] [ post_comments] [ post_edit]';<br>\nreturn $post_info;<br>\n}}<\/code><br><strong>Below is sample CSS to customize the post info on your site:<\/strong><br><code>\/* Post Info<br>\n------------------------------------------------------------ *\/<br>\n.post-info {<br>\nborder-bottom: 1px solid #ddd;<br>\nfont-size: 14px;<br>\nmargin: 0 0 20px;<br>\npadding: 0 0 5px;<br>\n}<\/code><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Final Words<\/h2>\n\n\n\n<p>I strongly recommended to take <strong>backup core files<\/strong> before customizing any Genesis Child Theme. Hope the above Genesis Tutorial was helpful and valued for you. Please don&#8217;t forget to share this with social friends and write a comment below if you need any assistance in customizing the look of your WordPress websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Genesis Framework : In this short tutorial, you\u2019ll learn about how to Customize the Post Info Function in Genesis. The &#8230; <a title=\"How to Customize the Post Info Function in Genesis Theme?\" class=\"read-more\" href=\"https:\/\/www.usefulblogging.com\/customize-post-info-function-genesis\/\" aria-label=\"Read more about How to Customize the Post Info Function in Genesis Theme?\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":31108,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[568,122],"class_list":["post-10122","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-genesis-framework","tag-code-snippets","tag-genesis","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33","no-featured-image-padding"],"_links":{"self":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/comments?post=10122"}],"version-history":[{"count":1,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10122\/revisions"}],"predecessor-version":[{"id":86574,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10122\/revisions\/86574"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/media\/31108"}],"wp:attachment":[{"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/media?parent=10122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/categories?post=10122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/tags?post=10122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}