• Home
  • Blog
  • Showcase
  • Setup Docs
    • Sunshine Help
    • Flex Help
  • Support
    • Support Area
    • Contact us
    • Feedback
  • Connect
    • Newsletter
    • Twitter
    • Facebook
  • My Account
  • Flex
  • Sunshine
Support : Simple Pro Themes

Support : Simple Pro Themes

[Resolved] Removing date stamp for posts

If you have purchased a product, please enter the email address that you used to register at time of purchase.
Log In
Lost Password

Create an Account
  • Your username must be unique, and cannot be changed later.
  • We use your email address to email you a secure password and verify your account.

Support › Forums › Flex Theme › Removing date stamp for posts

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 5 months ago by Davinder Singh Kanith.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • October 18, 2015 at 3:05 am #604
    nakichik
    Participant

    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!

    October 18, 2015 at 3:09 am #605
    Davinder Singh Kanith
    Moderator

    *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;
    }}
  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Copyright © 2023 · Simple PRO Themes for Genesis Framework · About · FAQs · Contact · Affiliates