- This topic has 1 reply, 2 voices, and was last updated 7 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support › Forums › Flex Theme › Removing date stamp for posts
Hi there,
I would like to know how to remove the date stamp at the top of a page for posts? I prefer the post layout on the homepage, but would like my posts to appear as undated articles.
Thanks!
*It is recommended to backup before making any changes*
Add following code at the end of functions.php file
//* Customize the post info function
add_filter( 'genesis_post_info', 'sp_post_info_filter' );
function sp_post_info_filter($post_info) {
if ( !is_page() ) {
$post_info = '[post_author_posts_link] [post_comments] [post_edit]';
return $post_info;
}}