mattlawck of StudioPress
8/3/2018 - 4:03 PM

Genesis post meta.

Genesis post meta.

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Remove the post meta function
remove_action( 'genesis_after_post_content', 'genesis_post_meta' );
/* Post Meta
------------------------------------------------------------ */
 
.post-meta {
	border-top: 1px solid #ddd;
	font-size: 14px;
	margin: 0 0 20px;
	padding: 5px 0 0;
}
<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

//* Customize the post meta function
add_filter( 'genesis_post_meta', 'sp_post_meta_filter' );
function sp_post_meta_filter($post_meta) {
if ( !is_page() ) {
	$post_meta = '[post_categories before="Filed Under: "] [post_tags before="Tagged: "]';
	return $post_meta;
}}