{"id":10154,"date":"2014-11-28T07:10:47","date_gmt":"2014-11-28T01:10:47","guid":{"rendered":"http:\/\/devstech.com\/?p=10154"},"modified":"2026-02-08T03:29:39","modified_gmt":"2026-02-07T21:29:39","slug":"customize-post-meta-function-genesis","status":"publish","type":"post","link":"https:\/\/www.usefulblogging.com\/customize-post-meta-function-genesis\/","title":{"rendered":"How to Customize Post Meta Function in Genesis Theme?"},"content":{"rendered":"\n<p>Genesis Framework : In this short tutorial, you\u2019ll learn about how to <em>Customize Post Meta 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 to&nbsp;Customize Post Meta Function with the Genesis Framework. <span id=\"more-10150\"><\/span><span id=\"more-10135\"><\/span><span id=\"more-9933\"><\/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 <strong>functions.php<\/strong> file.<\/p><\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Customize Post Meta Function in Genesis<\/h2>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p id=\"add-support\"><strong>Below is the code to Customize the Post Meta Function:<\/strong><\/p>\n\n\n\n<p><code><!--?php <br ?--> \/\/* Do NOT include the opening php tag<br>\n\/\/* Customize the post meta function<br>\nadd_filter( 'genesis_post_meta', 'sp_post_meta_filter' );<br>\nfunction sp_post_meta_filter($post_meta) {<br>\nif ( !is_page() ) {<br>\n$post_meta = '[ post_categories before=\"Filed Under: \"] [ post_tags before=\"Tagged: \"]';<br>\nreturn $post_meta;<br>\n}} <\/code><\/p>\n\n\n\n<p><strong>Below is sample CSS to Customize the Post Meta:<\/strong><br><code>\/* Post Meta<br>\n------------------------------------------------------------ *\/<br>\n.post-meta {<br>\nborder-top: 1px solid #ddd;<br>\nfont-size: 14px;<br>\nmargin: 0 0 20px;<br>\npadding: 5px 0 0;<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 Post Meta Function in Genesis. The Genesis &#8230; <a title=\"How to Customize Post Meta Function in Genesis Theme?\" class=\"read-more\" href=\"https:\/\/www.usefulblogging.com\/customize-post-meta-function-genesis\/\" aria-label=\"Read more about How to Customize Post Meta 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-10154","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\/10154","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=10154"}],"version-history":[{"count":1,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10154\/revisions"}],"predecessor-version":[{"id":86582,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/posts\/10154\/revisions\/86582"}],"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=10154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/categories?post=10154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.usefulblogging.com\/wp-json\/wp\/v2\/tags?post=10154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}